I'm using iTerm for my command line needs, and when I open a tab using ⌘T I want it to open the tab cd'ed to the same location as the tab that was open when I hit ⌘T (instead of opening in my /Users/kramer65
).
I searched around the Preferences, but I can't seem to find it. Does anybody know how I can do this? All tips are welcome!
Best Answer
Select "Reuse previous session's directory" from the preferences of your profile:
Alternatively click on "Advanced Configuration" then "Edit..." so you can set the working directory separately for new windows, new tabs & new split panes