I have the Atom editor and was wondering how you can open a file or folder from the terminal in Atom. I am using a Mac. I am looking for a way to do this:
at
On macOS you can add it to your ~/.bash_profile
~/.bash_profile
as
alias atom='open -a "Atom"'
and from terminal just call
atom filename.whatever