Hacker News new | ask | show | jobs
by Myzel394 89 days ago
I'm still looking forward to being able to only remember a command for a specific time. I currently block sensitive commands, which completely destroys the ability to just press the up arrow key to quickly edit the command. If we had like a timeout of 1 minute for sensitive commands, we could edit them and still make sure they are not persistent
2 comments

I really like this idea — might give an implementation a shot
zsh doesn't add commands that start with a space to stored history. So you can up arrow recall them but once you exit the session they're gone.