Improve history in bash

This commit is contained in:
Tony Grosinger 2021-11-04 12:46:54 -07:00
parent d2f48f8bef
commit a359b50ee8

View File

@ -7,7 +7,7 @@ alias la="ls -lhA"
# History
HISTSIZE=50000
HISTFILESIZE=50000
HISTCONTROL=ignoreboth
HISTCONTROL=ignoreboth:erasedups
HISTIGNORE="ls:ll:cd:pwd:bg:fg:history"
if [ "$BASH" != "" ]; then
@ -51,6 +51,10 @@ then
export PATH=$PATH:${HOME}/bin
fi
# fzf
source /usr/share/doc/fzf/examples/key-bindings.bash
source /usr/share/doc/fzf/examples/completion.bash
# Add a local un-tracked bash-rc if present
if [[ -f ${HOME}/.bashrc_local ]];
then