Last active
January 23, 2019 20:15
-
-
Save spazm/32c85c61d83d48dbc8a0b40e96a599bd to your computer and use it in GitHub Desktop.
Revisions
-
spazm renamed this gist
Jan 23, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
spazm revised this gist
Jan 23, 2019 . No changes.There are no files selected for viewing
-
spazm created this gist
Jan 23, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ MY_SSH_AUTH_SOCK=$HOME/.ssh/ssh_auth_sock if [ -n "$SSH_AUTH_SOCK" ] ; then if [ -L $MY_SSH_AUTH_SOCK ] && [ -e $MY_SSH_AUTH_SOCK ]; then [ -n "$DEBUG" ] && echo "SSH_AUTH_SOCK is still valid" else [ -n "$DEBUG" ] && echo "linking SSH_AUTH_SOCK to $MY_SSH_AUTH_SOCK" ln -fs "$SSH_AUTH_SOCK" "$MY_SSH_AUTH_SOCK" fi fi [ -n "$DEBUG" ] && ls -l $MY_SSH_AUTH_SOCK