]> arthur.barton.de Git - ax-zsh.git/blob - core/99_zlogin/99_zlogin.zshrc
Fix catching up the "ax-io", "zprofile" and "zlogin" stages
[ax-zsh.git] / core / 99_zlogin / 99_zlogin.zshrc
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # 99_zlogin.zshrc: Make sure zlogin files are read
3
4 [[ "$AXZSH_ZPROFILE_READ" = "2" ]] || return
5
6 # AXZSH_ZPROFILE_READ is set to 2 when the "ax-io" and "zprofile" were caught
7 # up because this is not a login shell and the environment was missing. In this
8 # case the "zlogin" stage will be missing in the end as well and therefore we
9 # run the "zlogin" stage manually, too.
10 [[ -n "$AXZSH_DEBUG" ]] && echo "» 99_zlogin.zshrc:"
11
12 axzsh_handle_stage "99_zlogin.zshrc" "zlogin"
13 AXZSH_ZLOGIN_READ=2
14
15 [[ -n "$AXZSH_DEBUG" ]] && echo "» 99_zlogin.zshrc (end)"