News for hackers. Stuff that matters.
Re:Fish: A user-friendly command line shell for macOS, Linux... by sry_not4sale on Wednesday December 13, 2017 @01:13AM (#15912405)
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/fun...

There are no comments on this comment yet.