diff options
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_cvs | 2 |
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 } |