Add 'set -e' command

This commit is contained in:
Дмитрий Рамазанов 2019-09-18 10:35:57 +05:00
parent c36b18b51f
commit 81a065231e

View File

@ -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"