How to open a file from the command line without adding its parent to the Tree View?


#1

I type

atom ~/.bashrc

And the file is opened in the currently open Atom window, but my home directory is also added to the current project, which is undesirable.

Is there currently a way to disable this behavior?


#2

There is no way to do this now, but I have seen an issue on atom/atom, or here, for this same problem. I can’t find it right now. So I guess I’m not much help.


#3

It was mentioned in:

Though there is a lot of other discussion going on there. I’m pretty sure it was addressed, but I also can’t find the exact bug or pull request.

@maxbrunsfeld do you know where it might be?