MacOS – OSX Open Atom from terminal

command linemacosterminal

I am trying to implement my own dotfiles. I am using zsh as my default shell. When I try to launch Atom from terminal I get this error

FSPathMakeRef(/Users/agusgambina/Applications/Atom.app) failed with error -43.

To start the application I am executing in the terminal

$ atom .

I am not sure what I have changed that broke this, but everything else that is similar seems to be working.

Thank you

Best Answer

This exact question has been answered on SO.

With Atom open, select from the Menu Bar:

Atom > Install Shell Commands

https://stackoverflow.com/a/23666354/4581844