]> git.r.bdr.sh - rbdr/dotfiles/blame - runcoms/zshenv
Add Z config
[rbdr/dotfiles] / runcoms / zshenv
CommitLineData
fa250235
BB
1#
2# Defines environment variables.
3#
4# Authors:
5# Sorin Ionescu <sorin.ionescu@gmail.com>
6#
7
8# Ensure that a non-login, non-interactive shell has a defined environment.
9if [[ "$SHLVL" -eq 1 && ! -o LOGIN && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then
10 source "${ZDOTDIR:-$HOME}/.zprofile"
11fi