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

Re: users-hosts combination failing



On Mar 24, 11:09am, Chris Johnson wrote:
}
} Hmm...  No responses yet.  Is there anyway I can I provide more
} information?

No ... you can try this patch, though:

Index: Completion/Base/Utility/_combination
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Base/Utility/_combination,v
retrieving revision 1.1
diff -u -r1.1 _combination
--- Completion/Base/Utility/_combination        2 Apr 2001 11:10:08 -0000
1.1
+++ Completion/Base/Utility/_combination        24 Mar 2007 16:36:07 -0000
@@ -88,7 +88,9 @@
   fi
   tmp=( ${tmp%%${~sep}*} )
 
-  compadd "$@" -a tmp || { (( $+functions[_$key] )) && "_$key" "$@" }
+  local expl
+  _wanted $key expl $key  compadd "$@" -a tmp ||
+      { (( $+functions[_$key] )) && "_$key" "$@" }
 else
   (( $+functions[_$key] )) && "_$key" "$@"
 fi


This was, not exactly rejected, but put off, on the grounds that it's
an inadequate fix for the problem (see zsh-workers/16605 and the long
thread that follows it).



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