diff options
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,7 +362,7 @@ WATCHFMT='%n %a %l from %m at %t.' [ -f COMMANDMENTS ] && cat COMMANDMENTS -if [ "$SSH_AUTH_SOCK" != "" ] ; then +if [ "$SSH_AUTH_SOCK" != "" ] && [ "$SSH_AUTH_SOCK" != "$HOME/.ssh-auth-sock" ] ; then if ! [ -e "$HOME/.ssh-auth-sock" ] || [ "`readlink $HOME/.ssh-auth-sock`" != "$SSH_AUTH_SOCK" ]; then echo "Setting ~/.ssh-auth-sock." rm -f "$HOME/.ssh-auth-sock" |