Open Atom Editor from Terminal without restoring windows(MacOS)


#1

To open files in current dir with command

atom .
or
open -a atom .

Atom opens them with restoring windows.

To open atom fresh, I tried

open -F -a atom .
open -F -n -a atom .

They didn’t work as expected.

How to open files under current dir in app atom without restoring windows.


#2

To clarify: you want to open a file in a directory that is already open in Atom, but you want to open a new window for it? Is there a particular reason why you want two windows for files in the same folder?


#3

No, I want to open Atom clean listing files in a dir without files already open.