From 81a065231e25b85ae24028c06a6fd393300a79db Mon Sep 17 00:00:00 2001 From: eKa Date: Wed, 18 Sep 2019 10:35:57 +0500 Subject: [PATCH] Add 'set -e' command --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 85583ee..d8fea29 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + # Backup existing configs if [ -e "$HOME/.tmux.conf" ]; then printf "Found existing .tmux.conf in your \$HOME directory. Will create a backup at $HOME/.tmux.conf.bak\n"