X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/5ee38ac2b3d22d617605185087c74db0f6a40091..855ca24386a69957e9449ba3d53e549cfeb11c87:/zsh/.zshenv diff --git a/zsh/.zshenv b/zsh/.zshenv new file mode 100644 index 0000000..c23f284 --- /dev/null +++ b/zsh/.zshenv @@ -0,0 +1,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