mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 17:28:01 +00:00
3f556400e7
Fixes #1206
12 lines
297 B
Bash
12 lines
297 B
Bash
#
|
|
# Defines environment variables.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
# 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
|