mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-22 12:21:58 +00:00
Merge pull request #3493 from NicholasTD07/patch-1
Fast installation time by shallow copying git repo
This commit is contained in:
commit
1ac2f8645e
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ if [ -d "$ZSH" ]; then
|
|||
fi
|
||||
|
||||
echo "\033[0;34mCloning Oh My Zsh...\033[0m"
|
||||
hash git >/dev/null 2>&1 && env git clone https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
|
||||
hash git >/dev/null 2>&1 && env git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git $ZSH || {
|
||||
echo "git not installed"
|
||||
exit
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue