Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: