mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
installer: don't run zsh at the end
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
This commit is contained in:
parent
794ff4a62d
commit
a40d93295f
1 changed files with 5 additions and 0 deletions
|
@ -219,6 +219,11 @@ main() {
|
|||
EOF
|
||||
printf "$RESET"
|
||||
|
||||
if [ ! -t 0 ]; then
|
||||
echo "${YELLOW}Run zsh to try it out.${RESET}"
|
||||
exit
|
||||
fi
|
||||
|
||||
exec zsh -l
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue