dotfiles/.config/zsh/conf.d/20-autoload.zsh
2024-10-29 13:59:15 +01:00

12 lines
196 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