Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion oddity
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author