diff options
author | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-08 06:20:39 +0000 |
---|---|---|
committer | Doug Kearns <dkearns@users.sourceforge.net> | 2005-06-08 06:20:39 +0000 |
commit | 57879ec4295839be9ed42b920b5727fc0b34855e (patch) | |
tree | b4e5b956090a491b6509ab40368befbb25f77ca2 | |
parent | 7b2bbf51f20552a07beb5630042a8a881db00e78 (diff) | |
download | zsh-57879ec4295839be9ed42b920b5727fc0b34855e.tar.gz zsh-57879ec4295839be9ed42b920b5727fc0b34855e.tar.xz zsh-57879ec4295839be9ed42b920b5727fc0b34855e.zip |
21306: add -s option to _disable
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Zsh/Command/_disable | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 83bc30018..98f1374a7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-06-08 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + * 21306: Completion/Zsh/Command/_disable: add -s option for removing + suffix aliases + * 21310: Completion/Unix/Type/_global_tags: pass an array to compadd; redirect stderr to /dev/null when generating matches with _call_program diff --git a/Completion/Zsh/Command/_disable b/Completion/Zsh/Command/_disable index 9c1d576b9..3b627fb5f 100644 --- a/Completion/Zsh/Command/_disable +++ b/Completion/Zsh/Command/_disable @@ -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})" |