mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 17:24:50 +01:00
15 lines
319 B
Text
15 lines
319 B
Text
#autoload
|
|
|
|
local qpref pref entries
|
|
_cvs_setup_prefix
|
|
if [[ -d ${pref}CVS ]]; then
|
|
_cvs_setup_allentries
|
|
setopt localoptions unset
|
|
local omit
|
|
omit=(${pref}*(D:t))
|
|
eval 'entries=(${entries:#('${(j:|:)${(@)omit:q}}')})'
|
|
compadd "$@" -P "$qpref" - ${entries:q} ||
|
|
_cvs_directories "$@"
|
|
else
|
|
_files "$@"
|
|
fi
|