Hacker News new | ask | show | jobs
by shurcooL 3821 days ago
Yeah. I wish all apps had an incognito mode for this reason.

Imagine being able to open an incognito terminal to type commands that won't get saved to history or pollute what you already have.

2 comments

In bash (and probably others) commands prefixed with space are removed from history. (it's a setting - google HISTIGNORE )
You can:

    unset $HISTFILE