]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - runcoms/zshenv
Update readme
[rbdr/dotfiles] / runcoms / zshenv
... / ...
CommitLineData
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