Fix oh-my-bash install call
This commit is contained in:
parent
63c16aed61
commit
c653d791a6
1 changed files with 2 additions and 2 deletions
4
.bashrc
4
.bashrc
|
@ -2,8 +2,8 @@ source "$HOME/.config/environment"
|
||||||
|
|
||||||
if [ ! -f "$OSH/oh-my-bash.sh" ]
|
if [ ! -f "$OSH/oh-my-bash.sh" ]
|
||||||
then
|
then
|
||||||
echo "Installing oh-my-bash"
|
echo "Installing oh-my-bash (it will load the wrong config on the first launch)"
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/oh-my-zsh/master/tools/install.sh)" > /dev/null
|
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
|
mv $HOME/.bashrc.pre-oh-my-bash $HOME/.bashrc
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue