Enabling Command-Line Pipe for Atom on OS X
Pipe to Atom Command-Line Tools
This allows you to pipe from the command line to Atom. Simplest example:
Set It Up
Make sure you've run File -> Install Shell Commands first.
Edit your /usr/local/bin/atom (in Atom, for instance):
Below this code:
insert this code
Save the file and now piping should work.
This comment is also on GitHub here.
This does tend to break from time to time (perhaps on Atom update?). You'll need to reapply.
* osx os x macos