OpenInTerminal icon indicating copy to clipboard operation
OpenInTerminal copied to clipboard

GitKraken doesn't open selected directory from Finder

Open dotWee opened this issue 8 months ago • 0 comments

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

  1. Select a directory in Finder
  2. Use OpenInTerminal to open with GitKraken
  3. GitKraken launches but opens to the recent repositories screen
  4. User has to manually navigate and open the intended repository

Expected Behaviour

  1. Select a directory in Finder
  2. Use OpenInTerminal to open with GitKraken
  3. 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

dotWee avatar Apr 26 '25 01:04 dotWee