Re: history expansion

Vincent Lefevre <[email protected]> Sun, 12 Jul 2026 19:05:37 +0200
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>
On 2026-07-12 09:36:36 -0400, Mark J. Reed wrote:
> I use history substitution all the time. I'm occasionally annoyed by the
> need to extra-quote exclamation points, but not enough to give up the
> feature, which you can always turn off with *unsetopt banghist*.

I was more thinking about why it was not turned off by default
(principle of least surprise for most users).

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)