Browse Source

installer: don't run zsh at the end

Co-authored-by: Joel Kuzmarski <leoj3n@gmail.com>
Marc Cornellà 5 years ago
parent
commit
a40d93295f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tools/install.sh

+ 5 - 0
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
 }