GitHub - Ji4n1ng/OpenInTerminal: ✨ Finder Toolbar app for macOS to open the curr...
source link: https://github.com/Ji4n1ng/OpenInTerminal
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
OpenInTerminal
✨ Finder Toolbar app for macOS to open the current directory in Terminal
or iTerm
.
How to use ?
1) Open Current Directory from Toolbar
2) Open Selected folder or file from Toolbar
3) Other
If neither Finder window is opened nor the folder is selected, this app will open home directory
in Terminal
or iTerm
.
How to Install ?
- Download from release.
- Move the app into
/Applications
. - Right click on the Finder toolbar. Choose
Customize Toolbar
. Drag the app into Finder Toolbar. - Done.
⚠️ macOS will ask your permissions to access Finder and Terminal (or iTerm) when you run the app for the first time. Please give the application permissions.
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.
How to build ?
Mojave build passing ✅
git clone https://github.com/Ji4n1ng/OpenInTerminal
cd OpenInTerminal
xcodebuild
If you want to change default terminal, edit it in
main.swift
. I will try my best to solve this problem in a more elegant way.
TODO ??
- Dynamically change icon depending on Dark Mode.
- User can choose which terminal to open.
- ? Fix: If path include
\
, the app will crash when openning in iTerm.
Special Thanks to ❤️
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK