-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshenv
41 lines (30 loc) · 1.09 KB
/
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
32
33
34
35
36
37
38
39
40
41
# shellcheck shell=bash
export XDG_CONFIG_HOME="${HOME}/.config"
export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_STATE_HOME="${HOME}/.local/state"
export ZDOTDIR="${HOME}"
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
export GOPATH="${HOME}/go"
export GOBIN="${GOPATH}/bin"
export PYENV_ROOT="${HOME}/.pyenv"
export EDITOR="nvim"
export VISUAL="nvim"
export CC="clang"
export CXX="clang++"
SHARED_ENV_DIR="${XDG_CONFIG_HOME}/env"
if [ -e "${SHARED_ENV_DIR}/color_scheme.sh" ]; then
source "${SHARED_ENV_DIR}/color_scheme.sh"
elif [ -n "${INSTALL_SCRIPT_BASEDIR}" ]; then
source "${INSTALL_SCRIPT_BASEDIR}/color_scheme.sh"
fi
if [ -e "${SHARED_ENV_DIR}/directories.sh" ]; then
source "${SHARED_ENV_DIR}/directories.sh"
elif [ -n "${INSTALL_SCRIPT_BASEDIR}" ]; then
source "${INSTALL_SCRIPT_BASEDIR}/directories.sh"
fi
if [ -e "${SHARED_ENV_DIR}/terminals.sh" ]; then
source "${SHARED_ENV_DIR}/terminals.sh"
elif [ -n "${INSTALL_SCRIPT_BASEDIR}" ]; then
source "${INSTALL_SCRIPT_BASEDIR}/terminals.sh"
fi