-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshenv
29 lines (22 loc) · 897 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
# https://github.com/zpm-zsh/autoenv
export AUTOENV_IN_FILE=".autoenv.in.zsh"
export AUTOENV_OUT_FILE=".autoenv.out.zsh"
# Spring gives me headaches most of the time
# https://github.com/rails/spring
export DISABLE_SPRING=true
# https://github.com/sharkdp/bat/
export BAT_THEME="gruvbox-dark"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-${HOME}/.local/share}"
# https://www.cryfs.org
export CRYFS_NO_UPDATE_CHECK=true
export CRYFS_LOCAL_STATE_DIR="${XDG_DATA_HOME}/cryfs"
# Start or re-use gpg-agent
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
# Ensure that a non-login, non-interactive shell has a defined environment.
if [[ "$SHLVL" -eq 1 && ! -o LOGIN ]]; then
for zprofile in "/etc/zsh/zprofile" "${ZDOTDIR:-$HOME}/.zprofile"; do
[[ -s "${zprofile}" ]] && source "${zprofile}"
done
unset zprofile
fi