Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: users-hosts combination failing
- X-seq: zsh-users 11330
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: users-hosts combination failing
- Date: Sat, 24 Mar 2007 09:45:47 -0700
- In-reply-to: <20070324150902.GA24489@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070320153737.GA14160@xxxxxxxxxxxxxxxxxx> <20070324150902.GA24489@xxxxxxxxxxxxxxxxxx>
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