Ignore common commands

This commit is contained in:
Loic Nageleisen 2020-12-21 18:15:15 +01:00
parent 120823fd2e
commit d0e09a7149
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,5 @@
# ignore repeated, space-started, and casual commands
export HISTIGNORE="&:[ ]*:l[sl]:[bf]g:exit"
export HISTIGNORE="&:[ ]*:l[sl]:[bf]g:exit:cd .."
# enable multiline historization as a single line
shopt -s cmdhist