05b8e0cdf2
which makes it straighforward to use repositories that contain multiple modules, like sorin-ionescu/prezto or ohmyzsh/ohmyzsh.
13 lines
408 B
Plaintext
13 lines
408 B
Plaintext
_zimfw_compile() {
|
|
# Compile Zim scripts
|
|
local zroot_dir zfile
|
|
for zroot_dir in ${_zroot_dirs:|_zdisabled_root_dirs}; do
|
|
for zfile in ${zroot_dir}/(^*test*/)#*.zsh(|-theme)(N-.); do
|
|
if [[ ! ${zfile}.zwc -nt ${zfile} ]]; then
|
|
zcompile -UR ${zfile} && _zimfw_print -PR "<%= okay %>%B${zfile}.zwc:%b Compiled"
|
|
fi
|
|
done
|
|
done
|
|
_zimfw_print -P '<%= done %>Done with compile.'
|
|
}
|