exit 0 -> exit

This commit is contained in:
Joel Kuzmarski 2016-08-23 10:14:59 -05:00
parent 4d0fd11293
commit 2da39ae804

View File

@ -211,7 +211,7 @@ main() {
# Zsh exits immeditaly after invocation if STDIN is not a TTY, so it would be # Zsh exits immeditaly after invocation if STDIN is not a TTY, so it would be
# pointless to exec it in the first place. Let's just print a message instead. # pointless to exec it in the first place. Let's just print a message instead.
printf "${BLUE}No input TTY! To begin using Oh My Zsh, start a new zsh session!${NORMAL}\n" printf "${BLUE}No input TTY! To begin using Oh My Zsh, start a new zsh session!${NORMAL}\n"
exit 0 exit
elif [ -n "$CHSH_ZSH" ]; then elif [ -n "$CHSH_ZSH" ]; then
exec "$CHSH_ZSH" --LOGIN exec "$CHSH_ZSH" --LOGIN
else else