]> arthur.barton.de Git - ax-zsh.git/blobdiff - ax.zsh
"ax" theme: Set and export PS4 prompt
[ax-zsh.git] / ax.zsh
diff --git a/ax.zsh b/ax.zsh
index 0e571b9396367f51b042e9b6982f41f9653022dc..ee376eac5e45cea319e9678ad9bf3b924baeba1d 100644 (file)
--- a/ax.zsh
+++ b/ax.zsh
@@ -39,6 +39,11 @@ function axzsh_load_plugin {
                fi
        fi
 
+       if [[ "$type" == "zprofile" && -d "$dname/functions" ]]; then
+               # Add plugin function path when folder exists
+               axzsh_fpath+=("$dname/functions")
+       fi
+
        if [[ -r "$fname" ]]; then
                [[ -f "$HOME/.axzsh.debug" ]] \
                        && echo "   - $plugin ($type) ..."