Hacker News new | ask | show | jobs
by bratch 3938 days ago
The leading space behaviour is true only if HISTCONTROL="ignorespace" is set.
1 comments

Did not know that, for me HISTCONTROL=ignoreboth is set in my .bashrc. I think Debian's adduser creates a default .bashrc file where this line is present, I'm not sure though.