Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completion... but only for the extension part



----original message----
From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> On Wed, Aug 3, 2022 at 9:50 AM Thomas Lauer <thomas.lauer@xxxxxxxxxx> wrote:
> >
> > > The only problem now is that my "normal" completions add a space after
> > > the completion and that happens here as well.
> >
> > Hm... simply editing the _extensions file and removing "add-space" in
> > line 24 seems to do the trick. Works well now.
> 
> Removing add-space from that line will just cause zstyle to have a syntax error:
> zstyle: not enough arguments

I rechecked and that's right though it seemed to work w/o error when I
tried it. Strange.

> The right thing would be to add
> 
> zstyle ':completion:*:extensions' add-space false
> 
> to your .zshrc.

I actually did try this before editing _extensions and it had no effect
whatsoever. But I'll look into that again. Perhaps I had a typo.

Thanks T




Messages sorted by: Reverse Date, Date, Thread, Author