Y
Hacker News
new
|
ask
|
show
|
jobs
by
bombela
607 days ago
Prefix any command with a space and bash won't append to the history.
1 comments
gruturo
605 days ago
Careful that's only true if you set HISTCONTROL to "ignorespace" or "ignoreboth".
link
bombela
605 days ago
Which seems the default in my anecdotal experience on debian/Ubuntu.
It is also the default on fish shell in the same anecdotal experience.
link