# OpenInTerminal
**Repository Path**: orrin/OpenInTerminal
## Basic Information
- **Project Name**: OpenInTerminal
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2019-07-03
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README

English | [δΈζθ―΄ζ](./Resources/README-zh.md)
## 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
- β
Support Terminal, [iTerm](https://www.iterm2.com/), [Hyper](https://github.com/zeit/hyper) and [Alacritty](https://github.com/jwilm/alacritty).
- β
Support [Visual Studio Code](https://code.visualstudio.com/), [Atom](https://atom.io/), [Sublime Text](https://www.sublimetext.com/) and [VSCodium](https://github.com/VSCodium/vscodium).
- β
Set to open a new tab or window.
- β
Support keyboard shortcuts.
- β
Quick toggle the specified action from Menu bar.
- β
Support Dark Mode.
- β
Support English, Chinese and French.
## OpenInTerminal and OpenInTerminal-Lite (OpenInEditor-Lite) π
There are a normal version and a lite version of OpenInTerminal. If you like more powerful features and GUI preferences, then you can use `OpenInTerminal`. If you just need to open terminal or editor and don't want to keep the application in the background, then you can use `OpenInTerminal-Lite`.
For `OpenInTerminal-Lite` users:
Please check the document: [English](./Resources/README-Lite.md) | [δΈζθ―΄ζ](./Resources/README-Lite-zh.md)
## How to install π₯
### 1. Download
#### a) Homebrew (current version: 0.10.3)
1. Run the following command.
```
brew cask install openinterminal
```
2. Done.
#### b) Manual (latest version: 0.10.3)
1. Download from [release](https://github.com/Ji4n1ng/OpenInTerminal/releases).
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 π¨βπ»
- [ ] Switch AppIcon for Dark/Light mode.
If you have a good idea, feel welcome to open a new [issue](https://github.com/Ji4n1ng/OpenInTerminal/issues/new/choose).
## 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.2**
- Fix: Finder context menu does not appear on other disks.
**version 0.10.1**
- Thanks to [pynixwang](https://github.com/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
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
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
## Special Thanks to β€οΈ
### Contributors
- [Camji55](https://github.com/Camji55)
### Translators
- [Dorian Eydoux](https://github.com/dorian-eydoux)
### Reference projects
- [jbtule/cdto](https://github.com/jbtule/cdto)
- [es-kumagai/OpenTerminal](https://github.com/es-kumagai/OpenTerminal)
- [tingraldi/SwiftScripting](https://github.com/tingraldi/SwiftScripting)