X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/f6272d88eae76c8553f237f3f318c4a97997f262..fa25023586cb94a1abf4fd3ff95ebe7c3c8ead09:/runcoms/zshenv?ds=inline diff --git a/runcoms/zshenv b/runcoms/zshenv new file mode 100644 index 0000000..2d97203 --- /dev/null +++ b/runcoms/zshenv @@ -0,0 +1,11 @@ +# +# Defines environment variables. +# +# Authors: +# Sorin Ionescu +# + +# 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