mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
moved from Completion/User/_rcs
This commit is contained in:
parent
7f879a4103
commit
5a260e7071
14
Completion/Unix/Command/_rcs
Normal file
14
Completion/Unix/Command/_rcs
Normal file
@ -0,0 +1,14 @@
|
||||
#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
|
Loading…
Reference in New Issue
Block a user