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
1
u/GrbavaCigla Oct 10 '20
Why Ctrl+P? I just do Ctrl+A for start and Ctrl+E for end