From d21d617af949d5e6ed767ae2ef90c8d7e0d0d5d6 Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Fri, 12 Mar 2021 22:05:37 -0500 Subject: [PATCH] replace exits with break --- setup.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index ff0005f..70b4fe0 100755 --- a/setup.sh +++ b/setup.sh @@ -42,7 +42,7 @@ then sudo apt-get install golang -y; break;; [Nn]* ) - exit;; + break;; * ) echo "Please answer yes or no.";; esac done @@ -60,7 +60,7 @@ then go get -u github.com/justjanne/powerline-go; break;; [Nn]* ) - exit;; + break;; * ) echo "Please answer yes or no.";; esac done @@ -79,7 +79,7 @@ then ./install.sh; break;; [Nn]* ) - exit;; + break;; * ) echo "Please answer yes or no.";; esac done @@ -97,7 +97,7 @@ then git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm; break;; [Nn]* ) - exit;; + break;; * ) echo "Please answer yes or no.";; esac done @@ -119,11 +119,11 @@ then read -p "Do you want to install the vim plugins now?" yn case $yn in [Yy]* ) vim +PluginInstall +qall; break;; - [Nn]* ) exit;; + [Nn]* ) break;; * ) echo "Please answer yes or no.";; esac done - exit;; + break;; * ) echo "Please answer yes or no.";; esac done