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

> 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?



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.


In 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.




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

Search: