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
One of the problems I had was that I had to use backslashes \ in the path of the directory instead of normal slashes /, like the everyone here is using. Then I had to escape backslashes using double backslash \\. So, in my case I wrote the path like this:
alias subl='C:\\Program\ Files\\Sublime\ Text\ 3\\sublime_text.exe'