Add shutdown commands to histignore

This commit is contained in:
Daniel A. Maierhofer
2018-07-31 12:03:03 +02:00
parent 1617d3ac40
commit 827ca87a39

View File

@@ -13,7 +13,7 @@ esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
HISTIGNORE='ls:la:bg:fg:history:free:df'
HISTIGNORE='ls:la:bg:fg:history:free:df:halt:poweroff:shutdown:reboot'
PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
bind '"\e[A":history-search-backward' 2>/dev/null
bind '"\e[B":history-search-forward' 2>/dev/null