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

Re: Zsh completion question



On Fri, Nov 12, 2010 at 4:09 PM, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> On Fri, 12 Nov 2010, Bart Schaefer wrote:
>
>> On Nov 12,  3:31pm, Matias Graña wrote:
>> }
>> } I get the same behaviour. I don't set } zstyle ':completion:*'
>> accept-exact true } anywhere I'm aware of. In fact, zstyle -L
>> ':completion:*' does not } show this setting. And, when I set it to false,
>> behaviour changes, so } it was this option indeed.
>>
>> Check the output of
>>
>> (setopt kshoptionprint; setopt | grep recexact)
>
> Or, equivalently: set -o | grep recexact
>
>
>> The REC_EXACT option determines the default state of the accept-exact
>> style.
>
> Thanks for pointing this out.  Seems much more likely.  I had only
> considered things in (roughly):
>
> set -o | egrep 'comp|menu|list'
>
> Looking at things in the completion section of `man zshoptions` would've
> been a better idea.
>
> --
> Best,
> Ben

Yup, I had a line setting recexact (I took my initial .zshrc from
somewhere I can't recall now; I usually don't know which behaviours
are "optable" or not.)
I don't know about the OP, but this thread was really valuable to me.
Thanks,
Matias



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