about summary refs log tree commit diff
path: root/Completion/Cvs/_cvs_files
blob: f2a83ac28d3a924c2b863fe34704cd994dc65079 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#autoload

local qpref pref entries
_cvs_setup_prefix
if [[ -d ${pref}CVS ]]; then
  _cvs_setup_allentries
  (( $#entries )) && compgen "$@" -g "${(j:|:)${(@)entries:q}}"
else
  _files "$@"
fi