aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--%HOME%/.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 530d3d8..95df1e6 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -13,6 +13,9 @@ 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
+# Don't store duplicate commands.
+export HISTCONTROL=ignoredups
+
# Too many third-party scripts stop working w/ nounset enabled :-(
#set -o nounset