In you ~/.bash_profile
, add:
alias a="/Applications/Atom.app/Contents/MacOS/Atom $1"
Then run source ~/.bash_profile
from your terminal. Open files/directories with:
a .
Where .
opens the current directory, or replace .
with a file or folder name.
"Atom" -> "Install Shell Commands" will give you
atom
, so you can use it like:or