mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 17:24:50 +01:00
13 lines
407 B
Text
13 lines
407 B
Text
#autoload
|
|
|
|
if [[ -n "$compconfig[_cvs_disable_stat]" ]] ||
|
|
! { zmodload -e stat || zmodload stat }; then
|
|
_cvs_extract_file_entries
|
|
return
|
|
fi
|
|
|
|
local ents pats
|
|
ents=(${${${${(M)rawentries:#/*}#/}/\\/[^\\/]#\\///}%/[^/]#/[^/]#})
|
|
pats=(${${${(f)"$(LANG=C builtin stat -gn +mtime -F '%a %b %e %T %Y' ${pref}*(D))"}##*/}/ //})
|
|
eval 'ents=(${ents:#('${(j:|:)${(@)pats:q}}')})'
|
|
entries=($entries ${ents%%/*})
|