mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 17:24:50 +01:00
12 lines
244 B
Text
12 lines
244 B
Text
#autoload
|
|
|
|
local root=$CVSROOT
|
|
[[ -f CVS/Root ]] && root=$(<CVS/Root)
|
|
|
|
if [[ $root = :* || ! -d $root ]]; then
|
|
_message "module name"
|
|
else
|
|
compadd - \
|
|
$root/^CVSROOT(:t) \
|
|
${${(M)${(f)"$(<$root/CVSROOT/modules)"}:#[^#]*}%%[ ]*}
|
|
fi
|