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

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



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

The right thing would be to add

zstyle ':completion:*:extensions' add-space false

to your .zshrc.




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