2 ms·
I missed it too, so I created a fish function: ``` function sudo if test "$argv" = !! eval command sudo $history[1] else command sudo $
by sry_not4sale 9y ago
I missed it too, so I created a fish function:
```
function sudo
if test "$argv" = !!
eval command sudo $history[1]
else
command sudo $argv
end
end
```
This works for `sudo !!`
https://github.com/srynot4sale/dotfiles/blob/master/fish/functions/sudo.fish https://github.com/srynot4sale/dotfiles/blob/master/fish/fun...