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
Oh My Zsh
Commits
8f0ff4bb
Commit
8f0ff4bb
authored
May 07, 2018
by
ningwei1993
Committed by
Marc Cornellà
May 07, 2018
Browse files
fix bug for check zsh (#6798)
parent
c4981bae
Changes
1
Show whitespace changes
Inline
Side-by-side
tools/install.sh
View file @
8f0ff4bb
...
@@ -24,7 +24,7 @@ main() {
...
@@ -24,7 +24,7 @@ main() {
# which may fail on systems lacking tput or terminfo
# which may fail on systems lacking tput or terminfo
set
-e
set
-e
if
command
-v
zsh
>
/dev/null 2>&1
;
then
if
!
command
-v
zsh
>
/dev/null 2>&1
;
then
printf
"
${
YELLOW
}
Zsh is not installed!
${
NORMAL
}
Please install zsh first!
\n
"
printf
"
${
YELLOW
}
Zsh is not installed!
${
NORMAL
}
Please install zsh first!
\n
"
exit
exit
fi
fi
...
...
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