Subject: Re: autoload -X
From: Sebastian Gniazdowski <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Tue, 17 May 2016 10:57:35 +0200
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Sorry, I've had:

autoload() {
    builtin autoload "$@"
    return $?
    [ "$GLOBAL_VAR2" -lt "3" ] && echo "My own autoload[$GLOBAL_VAR2] $@"
    (( GLOBAL_VAR2 ++ ))
    builtin autoload "$@"
}

in ~/.zshrc. It tried to autoload "autoload" when was called with -X.

Best regards,
Sebastian Gniazdowski