From a40d93295f91d1553522e58433e0ba2c4186d2b8 Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Mon, 27 May 2019 22:21:39 +0200 Subject: installer: don't run zsh at the end Co-authored-by: Joel Kuzmarski --- tools/install.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') 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 } -- cgit v1.2.3-70-g09d2