Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

open -a is nice, i use it with alias, ex:

  alias qt='open -a "quicktime player"'
  alias vlc='open -a "vlc"'


At least for me (I've installed vlc via homebrew), there is a vlc binary in the PATH, and I can just vlc <filename>


The point here is to open a document with an app not assigned as default for the given mime-type by file name extension.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: