Improve history in bash
This commit is contained in:
parent
d2f48f8bef
commit
a359b50ee8
6
.bashrc
6
.bashrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user