A helper script to boot up git-ting abilities on Windows WSL
I wrote this shell script, because each time I opened Windows WSL, I had to manually start the ssh-agent
and add my github private key to it, so that I may access Github using the shell 😤.
Well now, you can have this, do that for you! 🎊🎊🎊
boot.sh
and change the location on line #5 to the path where your github private key is located.boot.sh
file bycd boot-github-shell-win
pwd
chmod u+x boot.sh
~/.profile
or ~/.bash_login
file:source <path-to-boot-sh-from-step-2.2>
Et Voila! 🥐🗼
You may opt to print details around the execution by calling the script with the -v
flag like so: bash boot.sh -v