From: Alexander Barton Date: Sun, 21 Mar 2021 16:35:35 +0000 (+0100) Subject: editor_select: Mark plugin as optional X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-zsh.git;a=commitdiff_plain;h=7a06ec2f8e31e30c97eaddac8c61f3bc01e002bb editor_select: Mark plugin as optional --- diff --git a/plugins/editor_select/editor_select.zshrc b/plugins/editor_select/editor_select.zshrc index c18070f..0d20e10 100644 --- a/plugins/editor_select/editor_select.zshrc +++ b/plugins/editor_select/editor_select.zshrc @@ -1,4 +1,7 @@ # AX-ZSH: Alex' Modular ZSH Configuration # editor_select.zshrc: Setup $EDITOR for the "best" available editor +# Don't run this plugin on "check-plugins"! +[[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92 + [[ -n "$EDITOR" ]] && alias zshenv="$EDITOR ~/.zshenv"