about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-09-08 00:48:08 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-09-08 00:48:08 +0000
commita4fc3939178c1602125258d4aedb53265ab5f88e (patch)
tree7dcd8c038bdbce69ac33e06e3ea6e66ec018be06 /Completion/User
parentb4958a1a60bf2210143a78e52c7023ed30f800ed (diff)
downloadzsh-a4fc3939178c1602125258d4aedb53265ab5f88e.tar.gz
zsh-a4fc3939178c1602125258d4aedb53265ab5f88e.tar.xz
zsh-a4fc3939178c1602125258d4aedb53265ab5f88e.zip
zsh-workers/7709
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_cvs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_cvs b/Completion/User/_cvs
index 1cdbed4b3..3493815f4 100644
--- a/Completion/User/_cvs
+++ b/Completion/User/_cvs
@@ -35,7 +35,7 @@ _cvs_command () {
   if (( CURRENT == 1 )); then
     compadd "$@" ${(k)cmds} || compadd "$@" ${(kv)=cmds}
   else
-    _cvs_"${${(k)cmds[(R)* $words[1] *]}:-${words[1]:#*~(${(@kj:|:)~cmds})}}"
+    _cvs_"${${(k)cmds[(R)* $words[1] *]}:-${(k)cmds[(i)$words[1]]}}"
   fi
 }