summaryrefslogtreecommitdiffstats
path: root/zsh/.zshenv
blob: c23f284cbef5b26d7805f4907aff805a23448041 (plain) (blame)
1
2
3
4
# Ensure that a non-login, non-interactive shell has a defined environment.
if [[ "$SHLVL" -eq 1 && ! -o LOGIN && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then
  source "${ZDOTDIR:-$HOME}/.zprofile"
fi