diff --git a/lib/history.bash b/lib/history.bash old mode 100644 new mode 100755 index 92db21f9..d582192b --- a/lib/history.bash +++ b/lib/history.bash @@ -1,18 +1,10 @@ #!/usr/bin/env bash -# append to bash_history if Terminal.app quits -shopt -s histappend - -# history handling -# -# Erase duplicates -# Bash History -export HISTCONTROL="ignoredups" -export HISTCONTROL=erasedups - -# resize history size -export HISTSIZE=5000 +# Bash History Handling +shopt -s histappend # append to bash_history if Terminal.app quits +export HISTCONTROL=erasedups # erase duplicates; alternative option: export HISTCONTROL=ignoredups +export HISTSIZE=5000 # resize history size export AUTOFEATURE=true autotest function rh {