Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

How do I open a file using Atom on WSL?

$
0
0

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:

alias atom="/mnt/c/Users/Mido/AppData/Local/atom/atom.exe"

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?


Viewing all articles
Browse latest Browse all 2795

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>