diff --git a/.config/zsh/zshrc.d/00-autoload.zsh b/.config/zsh/zshrc.d/00-autoload.zsh index e33e6b8..d99fb7b 100644 --- a/.config/zsh/zshrc.d/00-autoload.zsh +++ b/.config/zsh/zshrc.d/00-autoload.zsh @@ -9,6 +9,8 @@ autoload -Uz run-help run-help-git zmv # Load autoloadable functions if [[ -d "$ZDOTDIR/autoload" ]]; then + local d + # Include all wrapper scripts if their wrapped command exists for d in "$ZDOTDIR/autoload/"**/wrapper(/N); do fpath=("$d" $fpath)