2

Related to How can I open a Terminal window directly from my current Finder location?, I would like to have a terminal window open in one location, and open another one.

E.g. under Linux, I could be in ~/foo/bar/files/ in one terminal window, and type Ctrl-Shift-N and a new window would open at that same location.

In Mac OS X, I can only do ⌘N which opens a new terminal in my home directory. Is there any way to open the new terminal in the current directory?

2

Simply change the Terminal settings Terminal -> Preferences -> Startup -> New windows open with: Same Working Directory.

enter image description here

3
  • Damn, looked right at it and didn't see it. Thank you! Apr 19 '16 at 1:45
  • Interesting … it only works if the terminal is at a shell prompt. Well, I can live with it. Apr 19 '16 at 1:48
  • OK, I think I figured that last issue out -- the shell writes the current PWD into the title bar, and I think terminal window is using that information to figure out where to place a new window. If an app has changed the title bar label (and I've programmed vim to do just that), then the terminal window app can't figure it out. Jul 24 '16 at 21:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .