Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
itsadok
on May 12, 2013
|
parent
|
context
|
favorite
| on:
How zsh is more useful than bash
I use Alt+# in bash to do something similar. It comments out the current line and gives you a new prompt. Then you can run whatever you wanted to do first, and then scroll up, delete the hash sign and hit Enter.
Esc-Q sounds easier, though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Esc-Q sounds easier, though.