summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh')
-rw-r--r--tag-zsh/config/zsh/zshenv7
1 files changed, 6 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv
index d5ef76a1..3e8d1da8 100644
--- a/tag-zsh/config/zsh/zshenv
+++ b/tag-zsh/config/zsh/zshenv
@@ -3,4 +3,9 @@ then
 	. $ZDOTDIR/zshenv.local
 fi
 
-ZPLUG_HOME=${ZPLUG_HOME:-~/projects/zplug}
\ No newline at end of file
+ZPLUG_HOME=${ZPLUG_HOME:-~/projects/zplug}
+
+if [[ -z $SSH_AUTH_SOCK ]]
+then
+	export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent.socket
+fi