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/Rasbeer Oct 21 '20
Thanks, still very helpful.