Y
Hacker News
new
|
ask
|
show
|
jobs
by
CraigJPerry
891 days ago
You can tell your shell to ignore commands started with a space
HISTCONTROL=ignorespace
Or you can use HISTIGNORE to always ignore specific patterns.
1 comments
tandav
890 days ago
You can also use
HISTCONTROL=ignoreboth
to use both ignorespace and ignoredups
link