diff --git a/templates/bashrc.j2 b/templates/bashrc.j2 index b5292b4..1816a8a 100644 --- a/templates/bashrc.j2 +++ b/templates/bashrc.j2 @@ -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