zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: add -s option to _disable
@ 2005-06-06 13:32 Doug Kearns
  0 siblings, 0 replies; only message in thread
From: Doug Kearns @ 2005-06-06 13:32 UTC (permalink / raw)
  To: zsh-workers

Adds the -s option, for removing suffix aliases, to disable completion.

Regards,
Doug

Index: Completion/Zsh/Command/_disable
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Zsh/Command/_disable,v
retrieving revision 1.2
diff -u -r1.2 _disable
--- Completion/Zsh/Command/_disable	18 Jun 2004 17:49:21 -0000	1.2
+++ Completion/Zsh/Command/_disable	6 Jun 2005 13:01:21 -0000
@@ -1,8 +1,9 @@
 #compdef disable
 
 _arguments -C -s -A "-*" -S \
-  "(-f -r)-a[act on aliases]:*:aliases:(${(k)aliases} ${(k)galiases})" \
-  "(-a -r)-f[act on functions]:*:functions:(${(k)functions})" \
-  "(-a -f)-r[act on reserved words]:*:reserved-words:compadd -k reswords" \
+  "(-f -r -s)-a[act on regular or global aliases]:*:regular or global aliases:(${(k)aliases} ${(k)galiases})" \
+  "(-a -r -s)-f[act on functions]:*:functions:(${(k)functions})" \
+  "(-a -f -s)-r[act on reserved words]:*:reserved-words:compadd -k reswords" \
+  "(-a -f -r)-s[act on suffix aliases]:*:suffix aliases:(${(k)saliases})" \
   '-m[treat arguments as patterns]' \
   "*:builtin command:(${(k)builtins})"


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

only message in thread, other threads:[~2005-06-06 13:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-06 13:32 PATCH: add -s option to _disable Doug Kearns

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).