How do I open Sublime text from Git Bash in Windows? I tried adding the alias at the ~/.bashrc file but nothing worked. I was looking for something very easy but I could not fin
I added this to my C:\Users\username\.bashrc file:
export PATH="$PATH:/c/Program Files/Sublime Text 3"
Save the file. Then in Git Bash, type
which subl
to prove it works.