zsh-users
 help / color / mirror / code / Atom feed
From: Thomas Lauer <thomas.lauer@virgin.net>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Mikael Magnusson <mikachu@gmail.com>, Zsh Users <zsh-users@zsh.org>
Subject: Re: Completion... but only for the extension part
Date: Wed, 03 Aug 2022 18:44:30 +0100	[thread overview]
Message-ID: <luclehloebg3038ov196jctertkngqlosg@tlc.com> (raw)
In-Reply-To: <CAH+w=7YoeQSuyquOkOsqG5pQiCNdQmKb63neYuY6dfbcZaRwbg@mail.gmail.com>

----original message----
From: Bart Schaefer <schaefer@brasslantern.com>
> On Wed, Aug 3, 2022 at 9:50 AM Thomas Lauer <thomas.lauer@virgin.net> 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


      reply	other threads:[~2022-08-03 17:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-31 13:01 Thomas Lauer
2022-07-31 15:34 ` Mikael Magnusson
2022-07-31 16:33   ` Thomas Lauer
2022-08-03 16:50     ` Thomas Lauer
2022-08-03 17:02       ` Bart Schaefer
2022-08-03 17:44         ` Thomas Lauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=luclehloebg3038ov196jctertkngqlosg@tlc.com \
    --to=thomas.lauer@virgin.net \
    --cc=mikachu@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).