http://unix.stackexchange.com/a/18443/9365
@@ -143,7 +143,10 @@ yum_hasbin() {
### BASH ###
### '''' ###
-HISTCONTROL=erasedups
+HISTCONTROL=ignoredups:erasedups
+shopt -s histappend
+PROMPT_COMMAND="history -n; history -w; history -c; history -r; $PROMPT_COMMAND"
+
HISTIGNORE="$HISTIGNORE:ls:ll:la:cd"
HISTIGNORE="$HISTIGNORE:git dc:git st"
#export HISTIGNORE="$HISTIGNORE:se *:sc *"