3 ms·
> 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?
by movedx 3y ago
> 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?
- andelink 3y agoIn your iterm profile settings, you can configure new tabs to go to either $HOME, $CWD, or a fixed specific directory. I've configured new windows and tabs to $HOME, but new split panes $CWD.
- apocalyptic0n3 3y agoI 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.