Fix oh-my-bash install call

This commit is contained in:
Tobias Reisinger 2021-02-14 00:19:28 +01:00
parent 63c16aed61
commit c653d791a6

View file

@ -2,8 +2,8 @@ source "$HOME/.config/environment"
if [ ! -f "$OSH/oh-my-bash.sh" ]
then
echo "Installing oh-my-bash"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/oh-my-zsh/master/tools/install.sh)" > /dev/null
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
exit
fi