From ff323f6211f64c8fcc17ac5c60ca5e5e45440265 Mon Sep 17 00:00:00 2001 From: Nachuan Tang Date: Mon, 25 Jul 2022 18:40:21 -0400 Subject: [PATCH] . --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d194049..20bb5b2 100755 --- a/install.sh +++ b/install.sh @@ -192,7 +192,7 @@ set_up_bash_tool(){ if [ $status_code != '0' ]; then echo "Install terminal configure script for zsh shell?('y' install; 'q' quit the scrip)" read -r respond - if $? && [ "$respond" = "y" ] || [ "$respond" = "yes" ]; then + if [ "$respond" = "y" ] || [ "$respond" = "yes" ]; then echo "$source_cmd" >> $HOME/.zshrc elif [ "$respond" = "q" ]; then exit 0