From 119b8696adf926992bda7c6264d09b217c5e0b02 Mon Sep 17 00:00:00 2001 From: Ivan Povalyukhin Date: Wed, 17 Jun 2015 14:17:27 -0700 Subject: [PATCH] [history-bash] remote unused export call; cleanup history.bash file --- lib/history.bash | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) mode change 100644 => 100755 lib/history.bash 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 {