Minor bug has been fixed on install script

This commit is contained in:
Sameer Rahmani 2018-05-24 16:29:49 +01:00
parent 071c1bdb87
commit bbb3a1d10e
1 changed files with 4 additions and 2 deletions

View File

@ -65,12 +65,14 @@ main() {
exit 1
}
pushd $ZSH
pwd=`pwd`
cd $ZSH
$(env git submodule init && git submodule update) || {
printf "Error: git submodule of My.Zsh repo failed\n"
exit 1
}
popd
cd $pwd
printf "${BLUE}Looking for an existing zsh config...${NORMAL}\n"
if [ -f ~/.zshrc ] || [ -h ~/.zshrc ]; then