summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshenv
blob: 6c3721f8e75b4e4257c79af7ebcc3860b9000861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [[ $SHLVL -eq 1 || (-n $DISPLAY && $SHLVL -lt 3) ]]
then
	if [[ -f $ZDOTDIR/zshenv.local ]]
	then
		. $ZDOTDIR/zshenv.local
	fi

	ZPLUG_HOME=${ZPLUG_HOME:-~/projects/zplug}

	if [[ -z $SSH_AUTH_SOCK ]]
	then
		export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
	fi
fi