Ji4n1ng / OpenInTerminal

✨ Finder Toolbar app for macOS to open the current directory in Terminal, iTerm, Hyper or Alacritty.
MIT License
5.92k stars 234 forks source link

Open terminal/iterm2 always open terminal and cd to home directory rather than the current path of Finder #206

Open jingc769 opened 10 months ago

jingc769 commented 10 months ago

What is the issue?

When using "open terminal/iterm2" from the toolbar of finder. It can open terminal/iterm2, however, it goes to home directory rather than the directory in the Finder.

How does one reproduce the issue?

Just go to any directory other than home, and try to open terminal from the toolbar.

Screenshots

Debug information (Logs, OS, Hardware, Version, etc.)

Macbook M1 version 2020 version MacOS Version 13.6.1 (22G313) Using iterm2.app and Terminal.app zsh as default bash oh-my-zsh installed.

I tried OpenInTerminal-light version as well, the issue remains the same.

"Copy Path" and "Open in TextEdit" works perfectly.