Created
June 22, 2016 17:50
-
-
Save meskarune/21d16f4a9b5f7509884fde6bef85b43e to your computer and use it in GitHub Desktop.
bash profile for key agent thing
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
eval $(ssh-agent) &>/dev/null | |
ssh-add &>/dev/null | |
export SSH_AUTH_SOCK | |
if [ $(env | grep -c SSH_CONNECTION) -ne 0 ] || [ $TERM = "linux" ]; then | |
source ~/.bashrc | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment