Add 'set -e' command
This commit is contained in:
parent
c36b18b51f
commit
81a065231e
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Backup existing configs
|
# Backup existing configs
|
||||||
if [ -e "$HOME/.tmux.conf" ]; then
|
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"
|
printf "Found existing .tmux.conf in your \$HOME directory. Will create a backup at $HOME/.tmux.conf.bak\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user