add history options
This commit is contained in:
parent
37a566bdf0
commit
7ff56e393e
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,8 @@ fi
|
|||
# Disable Ctrl+s to freeze terminal
|
||||
# Source https://www.digitalocean.com/community/tutorials/how-to-use-bash-history-commands-and-expansions-on-a-linux-vps
|
||||
stty -ixon
|
||||
HISTCONTROL=erasedups
|
||||
HISTIGNORE="ls:cd:exit"
|
||||
|
||||
echo "bashrc_add sourced" 2>&1 |tee -a ${MYSHELLCONFIG_LOGFILE} >&2
|
||||
#echo "bashrc_add sourced" >&2
|
||||
|
|
Loading…
Reference in a new issue