summary refs log tree commit diff
path: root/Completion/User/_rcs
blob: 537db6278346809230866b92a758e183ccdd1ee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
#defcomp 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