]> arthur.barton.de Git - ax-zsh.git/commitdiff
editor_select: Mark plugin as optional
authorAlexander Barton <alex@barton.de>
Sun, 21 Mar 2021 16:35:35 +0000 (17:35 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 21 Mar 2021 16:40:56 +0000 (17:40 +0100)
plugins/editor_select/editor_select.zshrc

index c18070f5f88c212b48e07005531c978612f5d902..0d20e10ef691f9a6388ba57ec0c8a0838cd1cae5 100644 (file)
@@ -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"