mirror of https://github.com/ohmyzsh/ohmyzsh.git
installer: don't run zsh at the end
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>pull/5169/head^2
parent
794ff4a62d
commit
a40d93295f
|
@ -219,6 +219,11 @@ main() {
|
||||||
EOF
|
EOF
|
||||||
printf "$RESET"
|
printf "$RESET"
|
||||||
|
|
||||||
|
if [ ! -t 0 ]; then
|
||||||
|
echo "${YELLOW}Run zsh to try it out.${RESET}"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
exec zsh -l
|
exec zsh -l
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue