ssh: fix agent forwarding w/ tmux

This commit is contained in:
Jason Swank
2023-11-17 20:01:01 +00:00
parent 0bcec5234a
commit 97732a4830
2 changed files with 2 additions and 8 deletions

View File

@@ -24,11 +24,6 @@ if [ -e /usr/bin/keychain ]; then
eval $(/usr/bin/keychain --eval --agents ssh -Q --quiet id_ed25519)
fi
if [ -n "$SSH_AUTH_SOCK" ]; then
ln -sf $SSH_AUTH_SOCK ~/.ssh/ssh_auth_sock
export SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock
fi
# direnv setup
whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"