[Pkg-zsh-devel] Bug#622933: zsh: Enable completions by default, unless skip_global_compinit is set

Frank Terbeck ft at bewatermyfriend.org
Sat Apr 16 10:44:07 UTC 2011


Daniel Hahler wrote:
>> (( ${+parameters[skip_global_compinit]} )) && unset skip_global_compinit
>
> I suggest leaving this variable set, instead of unsetting it.
>
> This way it could get used in a user's zshrc file for example, like
> "when we're on Debian/Ubuntu and skip_global_compinit is not set, then I
> have to do it myself here.

Personally, I'd want the variable name space polluted as little as
possible. And there are numerous ways to check whether compsys is loaded
or not without yet another variable.

Regards, Frank





More information about the Pkg-zsh-devel mailing list