ignorespace is a good one other than shopt
parent
62eb23f302
commit
1b98e39f5a
|
|
@ -3,7 +3,7 @@
|
||||||
# Bash History Handling
|
# Bash History Handling
|
||||||
|
|
||||||
shopt -s histappend # append to bash_history if Terminal.app quits
|
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 HISTSIZE=${HISTSIZE:-5000} # resize history size
|
||||||
export AUTOFEATURE=${AUTOFEATURE:-true autotest} # Cucumber / Autotest integration
|
export AUTOFEATURE=${AUTOFEATURE:-true autotest} # Cucumber / Autotest integration
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue