]> arthur.barton.de Git - ax-zsh.git/blobdiff - ax.zsh
Enhance support for remote plugins with embedded themes
[ax-zsh.git] / ax.zsh
diff --git a/ax.zsh b/ax.zsh
index 0071767967b2a04e6a8f363b2c1d437cb48e7468..6915c467e8803c3b3b6d25d95d44962260234870 100644 (file)
--- a/ax.zsh
+++ b/ax.zsh
@@ -49,6 +49,9 @@ function axzsh_load_plugin {
                        # Prezto module
                        type="init.zsh"
                        fname="$dname/init.zsh"
+               elif [[ -r "$dname/$plugin.zsh-theme" ]]; then
+                       # ZSH "theme plugin", ignore here!
+                       :
                else
                        echo "AX-ZSH plugin type of \"$plugin\" unknown, skipped!" >&2
                        return 0