Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: completion on querytags
- X-seq: zsh-workers 10440
- From: Chmouel Boudjnah <chmouel@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: completion on querytags
- Date: 03 Apr 2000 16:32:46 -0700
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
if we want to do completion on tags the user should always specify a %
before the braces, so :
Index: Completion/Linux/_rpm
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Linux/_rpm,v
retrieving revision 1.2
diff -u -r1.2 _rpm
--- Completion/Linux/_rpm 2000/04/01 20:43:43 1.2
+++ Completion/Linux/_rpm 2000/04/03 23:30:50
@@ -202,7 +202,7 @@
fi
;;
tags)
- if compset -P '*\{'; then
+ if compset -P '*%*\{'; then
_wanted tags expl 'RPM tag' \
compadd -M 'm:{a-z}={A-Z}' -S '\}' - \
"${(@)${(@f)$(_call tags rpm --querytags)}#RPMTAG_}" && ret=0
PS: do i need to use the patch manager of srcforge ?
--
MandrakeSoft Inc http://www.mandrakesoft.com
Pasadena, CA USA --Chmouel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author