Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
CraigJPerry
· 2y ago · 0 comments
You can tell your shell to ignore commands started with a space
HISTCONTROL=ignorespace
Or you can use HISTIGNORE to always ignore specific patterns.
Comments
[–]
tandav
2y ago
You can also use
HISTCONTROL=ignoreboth
to use both ignorespace and ignoredups