Commit 8f0ff4bb authored by ningwei1993's avatar ningwei1993 Committed by Marc Cornellà
Browse files

fix bug for check zsh (#6798)

parent c4981bae
......@@ -24,7 +24,7 @@ main() {
# which may fail on systems lacking tput or terminfo
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"
exit
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment