summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-rwxr-xr-xtag-zsh/config/zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 98fcd5e..73dad6d 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -30,7 +30,7 @@ hosts=(
 
 users=(alan root toor)
 
-if [[ $os == "gnu" ]]
+if [[ $os == "gnu" && -z $SSH_CLIENT ]]
 then
 	export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
 fi