Minor bug has been fixed on install script
This commit is contained in:
parent
071c1bdb87
commit
bbb3a1d10e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue