Created
January 16, 2015 09:34
-
-
Save budnik/1a3696fac79d3b87f684 to your computer and use it in GitHub Desktop.
windows bashrc for cmder
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
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 | |
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