Improve '.bash_history' config

This commit is contained in:
2025-01-11 15:48:24 +01:00
parent e385015238
commit d20283c8f7

View File

@@ -36,10 +36,10 @@ export PATH=~/.bin:$PATH
# }}} # }}}
# History {{{ # History {{{
export HISTSIZE=999999
export HISTFILESIZE= # Unlimited
export HISTCONTROL=ignoreboth:erasedups export HISTCONTROL=ignoreboth:erasedups
export HISTSIZE=500000 export HISTIGNORE=" *:clear:l:ls:cd" # Omit commands from history (e.g. those prepended with space)
# Omit `clear, ls...`; commands prepended with space
export HISTIGNORE="clear:l: *"
# }}} # }}}
# Man pages {{{ # Man pages {{{