Hacker News new | ask | show | jobs
by reader_1000 3808 days ago
Yes, you need to have HISTCONTROL=ignorespace option in your .bashrc
1 comments

great thanks didn't know this one. Just checked and there is also

# don't put duplicate lines or lines starting with space in the history.

# See bash(1) for more options

HISTCONTROL=ignoreboth