blob: 6f8de021384221d8f67d78ad52a9d6f28fbceee2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#compdef co ci rcs rcsdiff
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
|