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

12 lines
196 B
Bash
Raw Normal View History

# Autoload additional functions
if [[ -d "${ZAUTOLOADDIR}" ]]; then
2024-10-29 13:59:15 +01:00
fpath=($fpath ${ZAUTOLOADDIR})
2024-10-29 13:59:15 +01:00
# Load functions
for func in ${ZAUTOLOADDIR}/*; do
autoload -Uz ${func:t}
done
fi