Skip to content

Instantly share code, notes, and snippets.

@budnik
Created December 20, 2013 13:53
Show Gist options
  • Save budnik/8055078 to your computer and use it in GitHub Desktop.
Save budnik/8055078 to your computer and use it in GitHub Desktop.
alias subl="/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"
if [[ ! -z $SSH_AGENT_PID ]] && `kill -0 $SSH_AGENT_PID` && [[ -f $SSH_AUTH_SOCK ]]
then
echo -e "\e[33m ☀ SSH agent already set up!"
else
eval `ssh-agent.exe`
ssh-add ~/.ssh/id_rsa
conemuc //EXPORT SSH_AUTH_SOCK SSH_AGENT_PID
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment