This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shopt -s histappend | |
shopt -s histverify | |
shopt -s expand_aliases | |
shopt -s cdable_vars | |
#history is set to unlimited. Change accsavedcmdsg to your need. Also | |
#change history format if you dont it | |
export HISTCONTROL=ignoreboth:erasedups |