From: Danek Duvall <duvall@comfychair.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: completion oddity
Date: Sat, 26 May 2012 14:19:53 -0700 [thread overview]
Message-ID: <20120526211953.GG26384@lorien.comfychair.org> (raw)
In-Reply-To: <120522233155.ZM2630@torch.brasslantern.com>
On Tue, May 22, 2012 at 11:31:55PM -0700, Bart Schaefer wrote:
> On May 22, 6:03pm, Danek Duvall wrote:
> } Subject: Re: completion oddity
> }
> } ... is there some way, either in a user's configuration or within
> } a single completion function, to turn off the "end with the same
> } substring" completion, while maintaining the dash-separates-words
> } aspect of the completion [...?]
>
> In fact, there is, and it's at once so obvious and so unintuitive
> that I'm quite sure it wasn't done on purpose.
>
> Define _k this way:
>
> _k() { _arguments --really-r1-word --r1-word }
Perfect! Now it'll work out of the box for everyone (well, me with my
particular completion configuration and my colleague, who has none).
Thanks so much,
Danek
next prev parent reply other threads:[~2012-05-26 21:20 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-21 21:40 Danek Duvall
2012-05-22 2:42 ` Bart Schaefer
2012-05-22 5:01 ` Danek Duvall
2012-05-22 5:16 ` Danek Duvall
2012-05-22 6:35 ` Bart Schaefer
2012-05-22 16:35 ` Greg Klanderman
2012-05-22 22:30 ` Bart Schaefer
2012-05-22 22:55 ` Greg Klanderman
2012-05-22 23:06 ` Danek Duvall
2012-06-15 10:43 ` #conpdef and compadd Eric Smith
2012-06-15 11:06 ` Mikael Magnusson
2012-06-15 19:22 ` #conpdef and compadd -> command regex Eric Smith
2012-06-15 22:22 ` Mikael Magnusson
2012-05-22 16:18 ` completion oddity Greg Klanderman
2012-05-22 22:57 ` Bart Schaefer
2012-05-22 23:09 ` Greg Klanderman
2012-05-23 6:08 ` Bart Schaefer
2012-05-23 1:03 ` Danek Duvall
2012-05-23 6:31 ` Bart Schaefer
2012-05-26 21:19 ` Danek Duvall [this message]
2012-05-23 6:25 ` Bart Schaefer
2012-05-23 18:48 ` Greg Klanderman
2012-05-24 3:39 ` Bart Schaefer
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=20120526211953.GG26384@lorien.comfychair.org \
--to=duvall@comfychair.org \
--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).