News for hackers. Stuff that matters.
Re:Fish: A user-friendly command line shell for macOS, Linux... by dalbotex on Wednesday December 13, 2017 @04:49AM (#15913207)
This is easily achieved using a fish function: https://github.com/nyarly/fish-bang-bang

Unlike bash, fish even expands it in place, allowing you to make changes.

Re:Fish: A user-friendly command line shell for macOS, Linux... by sli on Wednesday December 13, 2017 @09:51AM (#15914529)
zsh also expands in place for double bang, as well as the ^match^replace thing, too. Probably others, but those are the only ones I use regularly.