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

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