logoalt Hacker News

sltkrlast Thursday at 12:50 PM0 repliesview on HN

That depends on the shell configuration.

On bash, you can achieve this by setting HISTCONTROL=ignorespace but that's not the default.