Skip to content

Instantly share code, notes, and snippets.

@btorch
Created July 3, 2014 19:05
Show Gist options
  • Select an option

  • Save btorch/6ea72453737b5218b183 to your computer and use it in GitHub Desktop.

Select an option

Save btorch/6ea72453737b5218b183 to your computer and use it in GitHub Desktop.
.bashrc
------
if [ -S "$SSH_AUTH_SOCK" ] && [ ! -h "$SSH_AUTH_SOCK" ]; then
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment