zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: completion on querytags
@ 2000-04-03 23:32 Chmouel Boudjnah
  0 siblings, 0 replies; only message in thread
From: Chmouel Boudjnah @ 2000-04-03 23:32 UTC (permalink / raw)
  To: zsh-workers


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-04-03 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-03 23:32 PATCH: completion on querytags Chmouel Boudjnah

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).