From: Frank Terbeck Date: Wed, 25 Jul 2012 20:22:59 +0000 (+0200) Subject: Do not disable zstyle if compsys did not load X-Git-Tag: v0.7.0~7 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=c67b327508a377dbece45c0921ef328877f0ba95 Do not disable zstyle if compsys did not load Zstyle is _used_ to configure the completion system but it is *not* a part of it. Other systems use zstyle too, and if we lock it away, those systems may break in undesirable ways. --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 2d5c189..5ac408a 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -969,7 +969,6 @@ if zrcautoload compinit ; then compinit || print 'Notice: no compinit available :(' else print 'Notice: no compinit available :(' - function zstyle { } function compdef { } fi