dotfiles/.config/zsh/conf.d/20-autoload.zsh

11 lines
207 B
Bash
Executable File

# Autoload additional functions
if [[ -d "${ZAUTOLOADDIR}" ]]; then
fpath=($fpath ${ZAUTOLOADDIR})
# Load functions
for func in ${ZAUTOLOADDIR}/*; do
autoload -Uz ${func:t}
done
fi