I don't know how I would live without fish's alt+S to insert sudo at the start of your currently (or last) entered line.

⎯⎯⎯⎯⎯
| Approximate age | 36 |
| Location | Sweden |
| Trans? | Yes |
| Goth? | Yes |
| Lesbian? | Yes |
| GF? | No |
⎯⎯⎯⎯⎯
![]() |
| Who are the Tunnel Snakes? |
I don't know how I would live without fish's alt+S to insert sudo at the start of your currently (or last) entered line.
if i forget sudo i just do:
sudo !!
!! uses the last command. i think you can do !-2 for two back or more