Hacker News new | ask | show | jobs
by ralgozino 85 days ago
Ctrl+q in zsh is much better, I don't remember if bash has it.

You write a command, you remember that you need to do something else first, press ctrl+q/the lines gets cleared, write a different command and after you press enter to run it the old command appears again :)