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

Re: Zsh completion question



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


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