←back to thread

2039 points Gadiguibou | 1 comments | | HN request time: 0s | source
Show context
apocalyptic0n3 ◴[] No.36498002[source]
`open` is one I use all the time. I love that simple command.

    alias tab='open . -a iterm'
    alias phpstorm='open -a "PhpStorm"'
    alias smerge='open -a "Sublime Merge"'
etc. I use those more than I do the Open/Recents dialogs in the respective apps.
replies(6): >>36498084 #>>36498873 #>>36499022 #>>36499642 #>>36499746 #>>36504000 #
jonpalmisc ◴[] No.36499746[source]
Sublime Text and Sublime Merge actually ship with these CLI utilities by default, which have some additional features:

    $ fd 's(merge|ubl)$' /Applications/Sublime*                                          
    /Applications/Sublime Merge.app/Contents/SharedSupport/bin/smerge
    /Applications/Sublime Text.app/Contents/SharedSupport/bin/subl
replies(1): >>36507257 #
1. apocalyptic0n3 ◴[] No.36507257[source]
I knew of (and use) `subl` but was unaware they provided their own `smerge`. I'll delete my own alias in favor of that. Thanks!