mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 10:19:51 +00:00
fix bug for check zsh (#6798)
This commit is contained in:
committed by
Marc Cornellà
parent
c4981bae0a
commit
8f0ff4bb63
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user