Fix bashrc (regarding oh my bash)
This commit is contained in:
parent
866bbcae20
commit
8e9d15cc24
2 changed files with 4 additions and 2 deletions
6
.bashrc
6
.bashrc
|
@ -3,11 +3,13 @@ source "$HOME/.config/environment"
|
|||
if [ ! -f "$OSH/oh-my-bash.sh" ]
|
||||
then
|
||||
echo "Installing oh-my-bash (it will load the wrong config on the first launch)"
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" > /dev/null
|
||||
mv $HOME/.bashrc.pre-oh-my-bash $HOME/.bashrc
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" > /dev/null
|
||||
mv $HOME/.bashrc.* $HOME/.bashrc
|
||||
exit
|
||||
fi
|
||||
|
||||
autoinstall-packages
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-bash is loaded.
|
||||
OSH_THEME="brainy"
|
||||
|
|
Loading…
Reference in a new issue