3 ms·
Agreed, I often use `open -a 'Google Chrome' ./index.html` or `open -a 'Google Chrome' http://0.0.0.0:8000` http://0.0.0.0:8000`
by rattray 11y ago
Agreed, I often use `open -a 'Google Chrome' ./index.html` or `open -a 'Google Chrome' http://0.0.0.0:8000` http://0.0.0.0:8000`
- algorithms 11y agoI do the same so I aliased it to just "chrome", "firefox", etc.
- lukeadams 11y agoI aliased Sublime to `sub`. Without args it opens the current folder as a project; with args it opens the file[s].
- Zarel 11y agoThe officially-supported name is `subl`, by the way: https://www.sublimetext.com/docs/2/osx_command_line.html https://www.sublimetext.com/docs/2/osx_command_line.html
- lukeadams 11y agoHuh. I clearly didn't research before I wrote my one-liner. This is certainly a little more ... documented. Thanks for the heads up!