4 ms·
sweet didn't know about it, it's very handy with my little Mac OS X alias to open preview from command line : alias preview='groff -Tps > /tmp/tmp.ps && open -
by mickeyben 16y ago
sweet didn't know about it, it's very handy with my little Mac OS X alias to open preview from command line :
alias preview='groff -Tps > /tmp/tmp.ps && open -a Preview /tmp/tmp.ps'
So you can do :
cheat git | preview
- aantix 16y agoNice, very cool alias. Thank-you! P.S. As an added note, there are TONS of cheat sheets out there. Just do a 'cheat sheets' from the command line and you'll get the all listed. Some of the more common ones I would suspect in the HN community are : cheat svn cheat rails cheat named_scope cheat curl cheat blueprint cheat bash cheat mysql cheat ruby
- kalid 16y agoAwesome, thanks for sharing that alias.