diff options
Diffstat (limited to '.zshenv')
-rw-r--r-- | .zshenv | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +# +# Defines environment variables. +# +# Authors: +# Sorin Ionescu <sorin.ionescu@gmail.com> +# + +# 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 + |