Merge pull request #22 from jotyGill/develop

Pull from develop
This commit is contained in:
jotyGill
2022-04-24 09:54:26 +00:00
committed by GitHub

View File

@@ -19,12 +19,14 @@ fi
echo -e "Installing oh-my-zsh\n"
if [ -d ~/.config/ezsh/oh-my-zsh ]; then
echo -e "oh-my-zsh is already installed\n"
git -C ~/.config/ezsh/oh-my-zsh remote set-url origin https://github.com/ohmyzsh/ohmyzsh.git
elif [ -d ~/.oh-my-zsh ]; then
echo -e "oh-my-zsh in already installed at '~/.oh-my-zsh'. Moving it to '~/.config/ezsh/oh-my-zsh'"
export ZSH="$HOME/.config/ezsh/oh-my-zsh"
mv ~/.oh-my-zsh ~/.config/ezsh/oh-my-zsh
echo -e "oh-my-zsh in already installed at '~/.oh-my-zsh'. Moving it to '~/.config/ezsh/oh-my-zsh'"
export ZSH="$HOME/.config/ezsh/oh-my-zsh"
mv ~/.oh-my-zsh ~/.config/ezsh/oh-my-zsh
git -C ~/.config/ezsh/oh-my-zsh remote set-url origin https://github.com/ohmyzsh/ohmyzsh.git
else
git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git ~/.config/ezsh/oh-my-zsh
git clone --depth=1 https://github.com/ohmyzsh/ohmyzsh.git ~/.config/ezsh/oh-my-zsh
fi