Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
1ac2f864
Commit
1ac2f864
authored
Jan 31, 2015
by
Robby Russell
Browse files
Merge pull request #3493 from NicholasTD07/patch-1
Fast installation time by shallow copying git repo
parents
147ebd60
5cb0ed98
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/install.sh
View file @
1ac2f864
...
...
@@ -10,7 +10,7 @@ if [ -d "$ZSH" ]; then
fi
echo
"
\0
33[0;34mCloning Oh My Zsh...
\0
33[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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment