From ad12115f16006a9ccb18c784a98495e417149f07 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Mon, 12 Jun 2017 01:01:56 +0200 Subject: [PATCH] SSH_AUTH_SOCK workaround --- bash_profile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bash_profile b/bash_profile index 06b1aa2..642cb3e 100644 --- a/bash_profile +++ b/bash_profile @@ -94,3 +94,12 @@ complete -C aws_completer aws # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" + + +# ---------------------------------------------------------------------- +# ssh hack for SSH_AUTH_SOCK +# ---------------------------------------------------------------------- + +if [ -S "$SSH_AUTH_SOCK" ]; then + unset SSH_AUTH_SOCK +fi