alwaysInBeta Stable software is for the weak

HISTCONTROL

2015-05-16

In BASH, setting HISTCONTROL lets you have your command history skip repeat entries or commands that start with a space. To have both, my .profile now contains

export HISTCONTROL=ignoreboth

See http://wiki.bash-hackers.org/syntax/shellvars#histcontrol