afterdesign / termX

MacTerminal is a SublimeText plugin. It opens new Terminal tab (on current or new window if necessary). It's working with Terminal and iTerm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iterm2 not opening in home folder

rzyns opened this issue · comments

ctr+cmd+t opens a new tab in iterm2, but it opens it in my home folder rather than the current file's directory or the project directory. I've tried it with directory_mode set to both project and default. Here's my user config:

{
    "terminal" : "iterm",
    "debug" : true,
    "directory_mode" : "project"
}

and here's the debug output:

---MacTerminal DEBUG START---
{'cmd': '/usr/bin/osascript/Users/janusz/Library/Application Support/Sublime Text 3/Packages/MacTerminal/macterminal_iterm.scpt/Users/janusz/git/omx-utils',
 'directory_mode': 'project',
 'err': b'',
 'out': b'',
 'terminal_name': 'iterm'}
---MacTerminal DEBUG END---

I installed the package using Package Control. Also, the path to osascript is correct.

Can you verify that /Users/janusz/git/omx-utils path exists ?