Skip to content

✨ Finder Toolbar app for macOS to open the current directory in Terminal, iTerm, Hyper or Alacritty.

License

Notifications You must be signed in to change notification settings

stjordanis/OpenInTerminal

 
 

Repository files navigation



English | 中文说明

How to use 🚀

1) Open current directory in Terminal (or Editor)

2) Open selected folder or file in Terminal (or Editor)

3) Copy path of the selected file or Finder window to Clipboard

More features

OpenInTerminal and OpenInTerminal-Lite 👀

There are a normal version and a lite version of OpenInTerminal. If you only need to open the terminal and don't need to keep the application in the background, then you can use OpenInTerminal-Lite. If you like more powerful features, then you can use OpenInTerminal.

For OpenInTerminal-Lite users:

Please check the document: English | 中文说明

How to install 🖥

1. Download

a) Homebrew (current version: 0.10.1)

  1. Run the following command.

    brew cask install openinterminal
    
  2. Done.

b) Manual (latest version: 0.10.1)

  1. Download from release.

  2. Move the app into /Applications.

  3. Done.

⚠️ macOS will ask your permissions to access Finder and other applications when you run the app for the first time. Please give OpenInTerminal the permissions.

2. Check Finder Extension permission

Open the OpenInTerminal app. Go to System Preferences -> Extensions -> Finder Extensions, check the permission button as below.

3. Set OpenInTerminal to launch at login

Just check the Launch OpenInTerminal at login button in Preferences.

Because the Finder Extension does not work when the main app is not running, it is very recommended to set OpenInTerminal to launch at login.

Todo 👨‍💻

If you have a good idea, feel welcome to open a new issue.

FAQ ❓

1. What is the difference between OpenInTerminal and OpenInTerminal-Lite?

OpenInTerminal currently has a normal version and a lite version. If you only need to open the terminal and don't need to keep the application in the background, then you can use the Lite version. If you like more powerful features, then choose the normal version.

2. Finder Extension doesn't work

Please check if there is an OpenInTerminal(main app) icon in the status bar. The Finder Extension will always be in the toolbar. But if the main app is not open, it will not work. It is recommended to set OpenInTerminal to launch at login in Preferences.

3. I accidentally clicked on the Don't Allow button.

You can run the following command in the terminal. This will reset the permissions in the System Preferences.


tccutil reset AppleEvents
4. Special characters in the path.

Please do not use backslash \ and double quotes " in the path.

5. Open two Terminal windows on Mojave

This problem usually occurs when Terminal is first started. So you can use ⌘W to close Terminal window instead of using ⌘Q to quit Terminal.

Changes 🗒

version 0.10.1

  • Thanks to pynixwang's suggestions. iTerm will not leave cd xxx in history.
  • You need to click the window button or the tab button of iTerm again in Preferences.

version 0.10.0

  • Support keyboard shortcuts.
  • Support VSCodium.
old version

version 0.9.1

  • Support French.

version 0.9.0

  • OpenInTerminal has been released after several weeks of development. If you have suggestions or there are bugs, please feel free to open an issue.

version 0.4.1

  • Support Alacritty

version 0.4.0

  • You can set a default to open a new tab or window when using Terminal and Hyper.

version 0.3.0

  • Change name to OpenInTerminal-Lite (OpenInTerminal will come as a more powerful version in the future.)
  • Fix a bug that some special characters in the path would crash the program when opening Hyper.

version 0.2.0

  • Add terminal selector
  • Cancel running clear command when opening iTerm

version 0.1.1

  • Support Hyper
  • Give priority to creating a new tab when opening iTerm

version 0.1.0

  • First release

Special Thanks to ❤️

Contributors

Translators

Reference projects

About

✨ Finder Toolbar app for macOS to open the current directory in Terminal, iTerm, Hyper or Alacritty.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 99.9%
  • Ruby 0.1%