Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

do not log blank commands in addition to duplicate ones

  • Loading branch information...
commit 9aa80697397fbbc6f1a8412c92ef531b12b6422d 1 parent cea343c
@matijs authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  .bash_profile
View
3  .bash_profile
@@ -18,7 +18,8 @@ fi
# shell variables
export HISTSIZE=32768;
export HISTFILESIZE=$HISTSIZE;
-export HISTCONTROL=ignoredups;
+# don't log duplicate commands and blank commands
+export HISTCONTROL=ignoreboth;
# list of commands that should not be added to history
export HISTIGNORE="exit:[bf]g"
# make `vi` the default system editor
Please sign in to comment.
Something went wrong with that request. Please try again.