1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 17:24:50 +01:00
zsh/Completion/Cvs/_cvs_files_removed
1999-08-26 11:07:42 +00:00

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