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

Re: PATCH: zstyle to control completion of functions/parameters beginning with underscore



> How about if prefix-needed becomes a ternary, with default "auto" where
> the behavior of "auto" is defined to mean "false" in the new contexts
> where you are applying it and "true" in all the contexts where it now
> applies?

I'm not sure that's any different from documenting that the default
depends on the context (which you have to do either way), you're just
naming that behavior.

Easiest is to just use 'zstyle -t' in the new use cases and leave the
'zstyle -T' as-is in the existing twelve uses.

If you like 'auto', then it's not much more effort to add all the true
strings plus 'auto' to the existing 'zstyle -T' calls.  The new uses
would remain 'zstyle -t' as 'auto' and unset mean false in this
context.

Somebody make a choice and I'll do it..

Greg



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