3 ms·
For bash, if `$HISTCONTROL` is `ignoreboth` or `ignorespace`, commands with a leading space are not added to the history, so you could try that as a workaround.
by ksherlock 3y ago
For bash, if `$HISTCONTROL` is `ignoreboth` or `ignorespace`, commands with a leading space are not added to the history, so you could try that as a workaround.