I've been using the Atom editor on my iMac running High Sierra. I usually run it from the terminal by typing
atom. I moved many of my apps to an external drive to free up disk space. I originally moved Atom but have since moved it back onto my startup volume.
Sometime during all this I have messed up something and now Atom no longer runs from the command line. I started Atom by double-clicking on the icon. I selected "Install shell command" from the Atom menu.
Previously I did that so I could run atom from the command line. Well, it didn't work this time. How can I tell what that menu option actually does? When I select "Install shell command", what does Atom actually do? And how do I find out what a command does?
If I knew what the Atom command does, I could maybe fix this. Most questions I've read that pertain to this offer alternative ways to run Atom from the command line. I know how to do that, I'm trying to get things back to the way it was before my messing around caused all of this.