←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 #
movedx ◴[] No.36499642[source]
> alias tab='open . -a iterm'

But if you just open a new tab, you'll be in the same $CWD in the new tab? Am I missing some trick here?

replies(2): >>36499910 #>>36507329 #
1. apocalyptic0n3 ◴[] No.36507329[source]
I forget that's an option. I really dislike that and prefer for new tabs to open in my home directory. So having my `tab` alias that I use a couple times a week and opening the other 100 tabs in my home directory fits my workflow.