I am trying to open a file using Atom from bash on Windows. So what I did was I added an alias in my .bash_profile like this:
So let's say I am on my Desktop and I try opening a file called index.html by using:
atom index.html. What this actually does is it creates a new file called index.html in the directory where atom.exe is located. Weirdly enough, I followed the exact same procedure for Sublime text, and when I do
subl index.html, I am getting the file that I want. Why is this not working with Atom?