1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-08 12:01:21 +02:00
zsh/Functions/Completion/__rcs
1999-04-15 18:15:04 +00:00

9 lines
220 B
Text

#function co ci rcs
[[ $COMMAND = ci || $COMMAND = rcs ]] && __files
if [[ $NMATCHES -eq 0 && -d RCS && $COMMAND != ci ]]; then
local rep
rep=(RCS/$PREFIX*$SUFFIX,v(:t:s/\,v//))
(( $#rep )) && compadd -m $rep
fi