mklement0 / ttab

macOS and Linux CLI for opening a new terminal tab/window, optionally with a command to execute and/or display settings
285 stars 15 forks source link

When using iTerm2, the current dir. isn't automatically inherited by the new tab. #8

Closed mklement0 closed 8 years ago

mklement0 commented 8 years ago

Using Terminal.app automatically causes a new tab to inherit the calling tab's working dir.

This doesn't work in iTerm2 as of v0.4.0.

Workaround: add -d .

Note that the problem doesn't surface when you specify -w to open the tab in a new window, because an explicit cd command is issued in that event.

mklement0 commented 8 years ago

Fixed in v0.5.0