github

Ji4n1ng / OpenInTerminal

  • четверг, 18 апреля 2019 г. в 00:17:42
https://github.com/Ji4n1ng/OpenInTerminal

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



OpenInTerminal

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

中文说明

How to use 🚀

1) Open current directory from toolbar

run

2) Open selected folder or file from Toolbar

run2

3) Set default terminal

You are asked to set the default terminal to open after first launch.

selector

The selection box will not appear after you have set the default terminal. If you want to reset the default terminal, please enter the following command in the terminal. Then just run the application again.

defaults remove wang.jianing.OpenInTerminal OIT_TerminalBundleIdentifier

How to Install 🖥

  1. Download from release.
  2. Move the app into /Applications.
  3. Hold down the Cmd key and drag the app into Finder Toolbar.
  4. Done.

⚠️ macOS will ask your permissions to access Finder and Terminal (iTerm or Hyper) when you run the app for the first time. Please give the application permissions.

toolbar

If you are using Dark Mode

I provided several icons along with the app in the release. You can right click on the app and select Get Info. Drag the icon to cover the default icon.

change_icon

How to build 🔨

Mojave build passing ✅

git clone https://github.com/Ji4n1ng/OpenInTerminal
cd OpenInTerminal
xcodebuild

TODO 👨‍💻

  1. Dynamically change icon depending on Dark Mode.

Changes 🗒

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

Reference projects