Hacker News new | past | comments | ask | show | jobs | submit login

The leading space behaviour is true only if HISTCONTROL="ignorespace" is set.



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.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: