]> arthur.barton.de Git - ax-zsh.git/blob - core/01_zprofile/01_zprofile.zshrc
5b6493e60ab55ac0cde0495ef3ab3e06a5ecd7e9
[ax-zsh.git] / core / 01_zprofile / 01_zprofile.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # 01_zprofile.zshrc: Make sure zpfofile files are read
3
4 [[ -z "$AXZSH_ZPROFILE_READ" ]] || return
5
6 # No "zprofile" files have been read in already! So most probably this
7 # ZSH instance hasn't been called from an ax-zsh enabled ZSH!
8
9 # Reset some environment variables, that could contain "garbage" ...
10 unset PS1
11
12 [[ -f "$HOME/.axzsh.debug" ]] && echo "» 01_zprofile.zsh:"
13 for plugin ($plugin_list); do
14         axzsh_load_plugin "$(basename "$plugin")" "zprofile"
15 done
16 AXZSH_ZPROFILE_READ=2
17 [[ -f "$HOME/.axzsh.debug" ]] && echo "» 01_zprofile.zsh (end)"