-
Notifications
You must be signed in to change notification settings - Fork 1
/
zshenv
31 lines (24 loc) · 808 Bytes
/
zshenv
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# Defines environment variables.
#
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export PYENV_ROOT=$HOME/.pyenv
export NVM_DIR=$HOME/.nvm
export rvm_path=$HOME/.rvm
export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
# https://docs.amazonaws.cn/sdk-for-go/api/aws/credentials/processcreds/
# export AWS_SDK_LOAD_CONFIG=1
export HOMEBREW_NO_ANALYTICS=1
export HOMEBREW_NO_ENV_HINTS=1
if [[ -a "$HOME/.local/cacerts.pem" ]]; then
export REQUESTS_CA_BUNDLE=$HOME/.local/cacerts.pem
fi
# Local config
if [[ -a "${ZDOTDIR:-$HOME}/.zshenv.local" ]]; then
source "${ZDOTDIR:-$HOME}/.zshenv.local"
fi
# 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