Im currently on MacOS ( version 10.12.1 ) and i’ve encountered a problem with the ‘atom’ command in my terminal. Suddenly my terminal could find the command.
I checked my $PATH to see if it changed, ‘/usr/local/bin’ was in it, as well as a symlink for atom. When i tried to see the original file for the symlink the OS prompted me with an error that the symlink was broken. (Note that I hadn’t changed anything that could trigger this problem).
After restarting my terminal emulator ( iTerm + Zsh shell ) and Atom as well the problem still encountered. A couple minutes later everything worked again.
Practically i did nothing, I haven’t changed my $PATH, I haven’t changed ~/.zshrc, I haven’t changed my symlink, only restarted both iTerm and Atom.
Luckily everything works again but I’m just curious for why this problem happened.
Does anyone have an idea?