]> git.r.bdr.sh - rbdr/dotfiles/blob - runcoms/zshenv
Use a lighter git info
[rbdr/dotfiles] / runcoms / zshenv
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.
9 if [[ "$SHLVL" -eq 1 && ! -o LOGIN && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then
10 source "${ZDOTDIR:-$HOME}/.zprofile"
11 fi