summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2024-11-08 08:15:05 +0200
committerSyndamia <kamen@syndamia.com>2024-11-08 08:15:05 +0200
commitfc859b813aae56e429c6c9385052c8576a08246b (patch)
tree660ef61954150335e8891aad25a1af2d7c02f189 /.bashrc
parent2bffa44c20313a9a9b0e39df852f023c2f6e2191 (diff)
downloaddotfiles-fc859b813aae56e429c6c9385052c8576a08246b.tar
dotfiles-fc859b813aae56e429c6c9385052c8576a08246b.tar.gz
dotfiles-fc859b813aae56e429c6c9385052c8576a08246b.zip
feat(bash): Infinite history (**now in ~/bash_history**)
Diffstat (limited to '.bashrc')
-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 {{{