From 7a06ec2f8e31e30c97eaddac8c61f3bc01e002bb Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 21 Mar 2021 17:35:35 +0100 Subject: [PATCH] editor_select: Mark plugin as optional --- plugins/editor_select/editor_select.zshrc | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.39.2