OpenInTerminal
OpenInTerminal copied to clipboard
GitKraken doesn't open selected directory from Finder
Description
When trying to open a directory in GitKraken through OpenInTerminal's Finder integration, GitKraken launches but doesn't load the selected directory. This happens because GitKraken requires specific command-line arguments to open directories.
Current Behaviour
- Select a directory in Finder
- Use OpenInTerminal to open with GitKraken
- GitKraken launches but opens to the recent repositories screen
- User has to manually navigate and open the intended repository
Expected Behaviour
- Select a directory in Finder
- Use OpenInTerminal to open with GitKraken
- GitKraken launches and automatically opens the selected directory
Technical Details
GitKraken requires the --path argument to open directories directly.
This is a working work-around:
open -na 'GitKraken' --args --path /path/to/repository
Environment
- GitKraken latest version
- OpenInTerminal latest version