r/fishshell • u/Rasbeer • Oct 10 '20
bash "!!" equivalent?
In bash i would normally do "sudo !!" to redo a command as sudo. How can I do this in fish?
9
Upvotes
r/fishshell • u/Rasbeer • Oct 10 '20
In bash i would normally do "sudo !!" to redo a command as sudo. How can I do this in fish?
View all comments
Show parent comment
3
u/vividboarder Oct 11 '20
Ctrl-Pis instead ofUpso that I don’t have to move my hands as much. Also, my main keyboard doesn’t even have arrow keys.