Y
Hacker News
new
|
ask
|
show
|
jobs
by
abdusco
1641 days ago
I like fish shell's approach: [Alt]+[E] prepends the command with `sudo`.
So you hit arrow up to bring up the last command, then [Alt]+[E] to sudo-ify it.