summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index b6f2ad9..55959df 100644
--- a/.bashrc
+++ b/.bashrc
@@ -207,6 +207,9 @@
# History {{{
bind '"\e[A":history-search-backward'
bind '"\e[B":history-search-forward'
+ # Thanks to https://stackoverflow.com/a/19533853
+ shopt -s histappend
+ export HISTCONTROL=ignoredups HISTFILESIZE= HISTSIZE= HISTFILE=~/bash_history
# }}}
# Changing directory {{{