mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-14 13:09:37 +01:00
13 lines
358 B
Plaintext
13 lines
358 B
Plaintext
|
#
|
||
|
# 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
|
||
|
. "$HOME/.cargo/env"
|