]> arthur.barton.de Git - ax-zsh.git/commitdiff
virtualenv: Mark this plugin as "optional"
authorAlexander Barton <alex@barton.de>
Sun, 4 Nov 2018 13:51:16 +0000 (14:51 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 4 Nov 2018 13:51:16 +0000 (14:51 +0100)
plugins/virtualenv/virtualenv.zshrc

index 85453749cd0d5c6a0996c7091763b28bc8f3d452..436c667f253f82f27ace9cdab7cac124454de7c0 100644 (file)
@@ -1,6 +1,9 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # virtualenv: Activate an "virtual environment"
 
+# This plugin is optional.
+[[ -z "$AXZSH_PLUGIN_CHECK" ]] || return 92
+
 function activate() {
        for d (
                ./bin