zsh: Don’t export ssh socket via SSH
Alan Pearce alan@alanpearce.co.uk
Wed, 03 Feb 2016 19:34:18 +0100
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → tag-zsh/config/zsh/zshrc
@@ -30,7 +30,7 @@ ) 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