Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion... but only for the extension part
- X-seq: zsh-users 27929
- From: Thomas Lauer <thomas.lauer@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Mikael Magnusson <mikachu@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Completion... but only for the extension part
- Date: Wed, 03 Aug 2022 18:44:30 +0100
- Archived-at: <https://zsh.org/users/27929>
- In-reply-to: <CAH+w=7YoeQSuyquOkOsqG5pQiCNdQmKb63neYuY6dfbcZaRwbg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- Organization: TL
- References: <aiuceh1u4b0kdjtjj166a16a2s2h9gpvvs@tlc.com> <CAHYJk3SKZBbwZP9hLXiifph2dUq=iGCHLUwCAseXpzAMiN+iNQ@mail.gmail.com> <3ibdeh5ne7prrsaq8394994usvq22q7afm@tlc.com> <1l9lehpuqtef2c8tbc9e35uck0dol8go13@tlc.com> <CAH+w=7YoeQSuyquOkOsqG5pQiCNdQmKb63neYuY6dfbcZaRwbg@mail.gmail.com>
----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