Y
Hacker News
new
|
ask
|
show
|
jobs
by
dalbotex
3110 days ago
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.
1 comments
sli
3110 days ago
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.
link