Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rattray
· 11y ago · 0 comments
Agreed, I often use `open -a 'Google Chrome' ./index.html` or `open -a 'Google Chrome'
http://0.0.0.0:8000`
Comments
[–]
algorithms
11y ago
I do the same so I aliased it to just "chrome", "firefox", etc.
[–]
lukeadams
11y ago
I aliased Sublime to `sub`. Without args it opens the current folder as a project; with args it opens the file[s].
[–]
Zarel
11y ago
The officially-supported name is `subl`, by the way:
https://www.sublimetext.com/docs/2/osx_command_line.html
[–]
lukeadams
11y ago
Huh. I clearly didn't research before I wrote my one-liner. This is certainly a little more ... documented. Thanks for the heads up!