diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-06-18 04:36:55 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-06-18 04:36:55 +0300 |
commit | cca28fe14549bfac6a49634baeeceebde05ac113 (patch) | |
tree | 48e56c02dcacd23edca531d765b6202204e08b98 /%HOME% | |
parent | .bashrc: re-introduce the ssh-copy-id alias (diff) | |
download | linux-home-cca28fe14549bfac6a49634baeeceebde05ac113.tar.gz linux-home-cca28fe14549bfac6a49634baeeceebde05ac113.zip |
.bashrc: export HISTCONTROL=ignoredups
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.bashrc | 3 |
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 |