diff options
author | Marc Cornellà <marc.cornella@live.com> | 2019-05-27 22:21:39 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2019-06-03 17:18:24 +0200 |
commit | a40d93295f91d1553522e58433e0ba2c4186d2b8 (patch) | |
tree | 8000d31149b3dae06931afaa584b57d5f15a5f5e /tools | |
parent | 794ff4a62daa57b985ea35a3d6dc879d771e53f0 (diff) | |
download | zsh-a40d93295f91d1553522e58433e0ba2c4186d2b8.tar.gz zsh-a40d93295f91d1553522e58433e0ba2c4186d2b8.tar.bz2 zsh-a40d93295f91d1553522e58433e0ba2c4186d2b8.zip |
installer: don't run zsh at the end
Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/install.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/install.sh b/tools/install.sh index b479dc803..2d2936531 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -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 } |