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
483f1208
Commit
483f1208
authored
May 30, 2016
by
Andrew Janke
Committed by
Marc Cornellà
May 31, 2016
Browse files
installer: fix ordering of cygwin msys git check (#4557)
parent
9e8f417d
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/install.sh
View file @
483f1208
...
...
@@ -53,11 +53,6 @@ main() {
echo
"Error: git is not installed"
exit
1
}
env
git clone
--depth
=
1 https://github.com/robbyrussell/oh-my-zsh.git
$ZSH
||
{
printf
"Error: git clone of oh-my-zsh repo failed
\n
"
exit
1
}
# The Windows (MSYS) Git is not compatible with normal use on cygwin
if
[
"
$OSTYPE
"
=
cygwin
]
;
then
if
git
--version
|
grep
msysgit
>
/dev/null
;
then
...
...
@@ -66,6 +61,11 @@ main() {
exit
1
fi
fi
env
git clone
--depth
=
1 https://github.com/robbyrussell/oh-my-zsh.git
$ZSH
||
{
printf
"Error: git clone of oh-my-zsh repo failed
\n
"
exit
1
}
printf
"
${
BLUE
}
Looking for an existing zsh config...
${
NORMAL
}
\n
"
if
[
-f
~/.zshrc
]
||
[
-h
~/.zshrc
]
;
then
...
...
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