3 ms·
The terminal app built into OS X (newer versions, at least) lets you drag a folder to its icon to open a new terminal at that path. It looks like iTerm2 almost
by Sidnicious 15y ago
The terminal app built into OS X (newer versions, at least) lets you drag a folder to its icon to open a new terminal at that path.
It looks like iTerm2 almost does it — if you drag a directory to its icon it tries to execute it (which fails).
EDIT: actually, it looks like iTerm master supports this too: https://github.com/gnachman/iTerm2/blob/194678de81100cb17dad422efcb65400e23910a6/iTermApplicationDelegate.m#L437 https://github.com/gnachman/iTerm2/blob/194678de81100cb17dad...
…but it doesn’t work for directories with spaces and other special characters. Looks like a bug.
EDIT 2: Pull request sent: https://github.com/gnachman/iTerm2/pull/78 https://github.com/gnachman/iTerm2/pull/78
- peter_l_downs 15y agoVery cool. Thanks for sending in the pull request, I'd love to be able to do that instead of using this Finder service (which is a little hack-y).
- gnachman 15y agoMerged. Thanks :)
- Sidnicious 15y agoAwesome!