1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-03 09:21:19 +02:00
zsh/Completion/User/_rcs
2001-03-13 18:16:44 +00:00

15 lines
277 B
Plaintext

#compdef co ci rcs
local ret=1
if [[ -d RCS && $service != ci ]]; then
local rep expl
rep=(RCS/*,v(D:t:s/\,v//))
(( $#rep )) && _wanted files expl 'RCS file' compadd -a rep && ret=0
fi
[[ $service = ci || $service = rcs || ret -eq 1 ]] && _files && ret=0
return ret