#compdef globus
_globus() {
    if type globus > /dev/null;
    then
        eval "$(env COMMANDLINE="${words[1,$CURRENT]}" globus --shell-complete ZSH)"
    fi
}
if [[ "$(basename "${(%):-%x}")" != "_globus" ]]; then
    autoload -U compinit && compinit
    compdef _globus globus
fi

#compdef globus
_globus() {
    if type globus > /dev/null;
    then
        eval "$(env COMMANDLINE="${words[1,$CURRENT]}" globus --shell-complete ZSH)"
    fi
}
compdef _globus globus

Fix zsh compdef to not reinit completion
Fix zsh compdef to not reinit completion

Leftover from early experimentation with zsh completion, the compinit
directive dumps any completion directives loaded thusfar. That makes it
unsafe to include at the end of your config.
