Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
CraigJPerry
2y ago
0 comments
Share
You can tell your shell to ignore commands started with a space
HISTCONTROL=ignorespace
Or you can use HISTIGNORE to always ignore specific patterns.
0 comments
default
newest
oldest
tandav
2y ago
You can also use
HISTCONTROL=ignoreboth
to use both ignorespace and ignoredups
j
/
k
navigate · click thread line to collapse