add history options

This commit is contained in:
Jakobus Schürz 2020-02-12 15:25:26 +01:00
parent 37a566bdf0
commit 7ff56e393e

View file

@ -126,6 +126,8 @@ fi
# Disable Ctrl+s to freeze terminal # 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 # Source https://www.digitalocean.com/community/tutorials/how-to-use-bash-history-commands-and-expansions-on-a-linux-vps
stty -ixon stty -ixon
HISTCONTROL=erasedups
HISTIGNORE="ls:cd:exit"
echo "bashrc_add sourced" 2>&1 |tee -a ${MYSHELLCONFIG_LOGFILE} >&2 echo "bashrc_add sourced" 2>&1 |tee -a ${MYSHELLCONFIG_LOGFILE} >&2
#echo "bashrc_add sourced" >&2 #echo "bashrc_add sourced" >&2