aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--%HOME%/.bashrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 93dc3e2..9807e6d 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -5,10 +5,12 @@ esac
export PS1="\[\e[1;32m\]\h\[\e[m\] \[\e[1;34m\]\W\[\e[m\] # \[$(tput sgr0)\]"
+# `echo "!)"` doesn't work otherwise (namely, in third-party scripts):
set +o histexpand
-# `echo "!)"` doesn't work otherwise (namely, in third-party scripts).
-#set -o nounset
+
# Too many third-party scripts stop working w/ nounset enabled :-(
+#set -o nounset
+
set -o pipefail
shopt -s checkwinsize
@@ -17,6 +19,7 @@ shopt -s histappend
shopt -s nullglob
shopt -s nocaseglob
+# Make aliases work with sudo:
alias sudo='sudo '
alias df='df --human-readable'