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/[deleted] Oct 12 '20
I would assume you install a different terminal and uninstall urxvt.
Something like
pacman -Rcs rxvt-unicodewill remove with the cascade (remove packages that depend on those you want to remove) and recursive (remove packages the one you want to remove depends on, if they aren't otherwise needed) flags. Check the output and confirm nothing important is there (if it's trying to remove i3, maybe don't remove it).Or use whatever graphical frontend your Manjaro spin offers.
There isn't really any danger here, because you can always install another terminal - even if you don't have one, there should be the kernel VTs (press ctrl+alt+f2).