diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-06-18 17:49:17 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-06-18 17:49:17 +0000 |
| commit | 773b5c95d46b4d1c1cd58340b2c799a99320c555 (patch) | |
| tree | ad8b899e3f61472a0e4e764eea41774d1eb587e1 /Completion | |
| parent | _arguments fix for configure, unconfirmed (diff) | |
| download | zsh-773b5c95d46b4d1c1cd58340b2c799a99320c555.tar zsh-773b5c95d46b4d1c1cd58340b2c799a99320c555.tar.gz zsh-773b5c95d46b4d1c1cd58340b2c799a99320c555.tar.bz2 zsh-773b5c95d46b4d1c1cd58340b2c799a99320c555.tar.lz zsh-773b5c95d46b4d1c1cd58340b2c799a99320c555.tar.xz zsh-773b5c95d46b4d1c1cd58340b2c799a99320c555.tar.zst zsh-773b5c95d46b4d1c1cd58340b2c799a99320c555.zip | |
20077: fix completion of reserved words
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Zsh/Command/_disable | 2 | ||||
| -rw-r--r-- | Completion/Zsh/Command/_enable | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Zsh/Command/_disable b/Completion/Zsh/Command/_disable index 0e27944c9..9c1d576b9 100644 --- a/Completion/Zsh/Command/_disable +++ b/Completion/Zsh/Command/_disable @@ -3,6 +3,6 @@ _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:(${(k)reswords})" \ + "(-a -f)-r[act on reserved words]:*:reserved-words:compadd -k reswords" \ '-m[treat arguments as patterns]' \ "*:builtin command:(${(k)builtins})" diff --git a/Completion/Zsh/Command/_enable b/Completion/Zsh/Command/_enable index 380e3ba5d..c5f8b2c43 100644 --- a/Completion/Zsh/Command/_enable +++ b/Completion/Zsh/Command/_enable @@ -3,6 +3,6 @@ _arguments -C -s -A "-*" -S \ "(-f -r)-a[act on aliases]:*:aliases:(${(k)dis_aliases})" \ "(-a -r)-f[act on functions]:*:functions:(${(k)dis_functions})" \ - "(-a -f)-r[act on reserved words]:*:reserved-words:(${(k)dis_reswords})" \ + "(-a -f)-r[act on reserved words]:*:reserved-words:compadd -k dis_reswords" \ '-m[treat arguments as patterns]' \ "*:builtin command:(${(k)dis_builtins})" |
