Hacker News new | ask | show | jobs
by andy_boot 3675 days ago
I like this idea but I know that I have accidentally entered my password or my password with a typo in it on the terminal on at least one occasion.

The only way round this that I can see is to grep out the password - but then my password (or a substring of it) is now in plaintext in my .zshrc/.bashrc

I can't think of a solution to this. Does anyone have anything?

1 comments

Start your passwords with /! - the slash stops you entering it into IRC, and the bang stops it going into history.