Re: history expansion

Vincent Lefevre <[email protected]> Sun, 12 Jul 2026 19:15:51 +0200
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <[email protected]>
On 2026-07-12 07:51:12 -0700, Ray Andrews wrote:
> On 2026-07-12 06:36, 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*.
> Of all the impenetrable mysteries in zsh the most inscrutable is
> completion.  There must be, what? a dozen options all chewing on the same
> bone.  My  zshrc has settings imported from somewhere and taken on faith,
> I'm afraid to tinker because you can break something that's only going to
> show up when the moon is full and then you forgot what you changed and can't
> fix it.  I often wonder if some philanthropist at some time or other wrote a
> 'complete guide to completion' so that one might confidently know how to
> control all that.  As usual the power is awesome but the skill to use it is
> hard to obtain.

Completion should not be confused with expansion.
Here, this was about history expansion specifically.

-- 
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)