Created
June 27, 2020 15:53
-
-
Save mRB0/ac0f032973abed417d239c9dd56330e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ ! -z $SSH_AUTH_SOCK ]]; then | |
# echo "zshrc.d/ssh-agent: warning: SSH_AUTH_SOCK is set; skipping agent setup" | |
else | |
eval $(ssh-agent -s) | |
trap 'test -n "$SSH_AGENT_PID" && eval `/usr/bin/ssh-agent -k`' 0 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment