ignorespace is a good one other than shopt

pull/826/head
Levent YALCIN 2016-11-04 18:14:45 +00:00
parent 62eb23f302
commit 1b98e39f5a
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# Bash History Handling
shopt -s histappend # append to bash_history if Terminal.app quits
export HISTCONTROL=${HISTCONTROL:-erasedups} # erase duplicates; alternative option: export HISTCONTROL=ignoredups
export HISTCONTROL=${HISTCONTROL:-ignorespace:erasedups} # erase duplicates; alternative option: export HISTCONTROL=ignoredups
export HISTSIZE=${HISTSIZE:-5000} # resize history size
export AUTOFEATURE=${AUTOFEATURE:-true autotest} # Cucumber / Autotest integration