]> arthur.barton.de Git - ax-zsh.git/commitdiff
Really skip unknown plugins altogether
authorAlexander Barton <alex@barton.de>
Fri, 6 May 2016 16:10:35 +0000 (18:10 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 6 May 2016 16:10:35 +0000 (18:10 +0200)
ax.zsh

diff --git a/ax.zsh b/ax.zsh
index 1c43c890a7203aed6808ad5db2b4b17e9a6a4b54..88c16bd79bcbf9853b3a13f2a3d3e1cbd396c7bf 100644 (file)
--- a/ax.zsh
+++ b/ax.zsh
@@ -45,6 +45,7 @@ function axzsh_load_plugin {
                        fname="$dname/init.zsh"
                else
                        echo "AX-ZSH plugin type of \"$plugin\" unknown, skipped!" >&2
+                       return 0
                fi
        fi