dotfiles/.config/zsh/.zshenv
2022-01-25 16:00:55 +03:00

12 lines
337 B
Bash

#
# Defines environment variables.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
# Şahin Akkaya <sahin@sahinakkaya.dev>
# 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