Clone repo silently

Currently the git clone will write the following to stderr:

    Cloning into '/${HOME}/.oh-my-zsh'...

This silences that message.

References #3251
This commit is contained in:
Matthew Franglen 2017-05-08 21:07:51 +01:00
parent 291e96dcd0
commit cd968477f7

View File

@ -61,7 +61,7 @@ main() {
exit 1 exit 1
fi fi
fi fi
env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || { env git clone --depth=1 --quiet https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
printf "Error: git clone of oh-my-zsh repo failed\n" printf "Error: git clone of oh-my-zsh repo failed\n"
exit 1 exit 1
} }