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

Re: Bug#468386: zsh-beta: Slow command completion



On Fri, Feb 29, 2008 at 09:12:01AM -0800, Bart Schaefer wrote:
> Unfortunately that would mess with every "zstyle -T ... verbose" in the
> whole completion tree, so it's probably best just to leave it at your
> patch for now, unless someone feels strongly about it.

Speaking of which, -T is probably not at all what we want.

Index: Completion/Unix/Type/_path_commands
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_path_commands,v
retrieving revision 1.3
diff -u -r1.3 _path_commands
--- Completion/Unix/Type/_path_commands	28 Feb 2008 18:29:05 -0000	1.3
+++ Completion/Unix/Type/_path_commands	1 Mar 2008 23:04:17 -0000
@@ -26,7 +26,7 @@
 _path_commands() {
 local need_desc expl ret=1
 
-if zstyle -T ":completion:${curcontext}:" extra-verbose; then
+if zstyle -t ":completion:${curcontext}:" extra-verbose; then
   local update_policy first
   if [[ $+_command_descriptions -eq 0 ]]; then
     first=yes



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