Skip to content

Conversation

@dotWee
Copy link

@dotWee dotWee commented Apr 26, 2025

Summary of this pull request

Adds support for opening repositories in GitKraken using the --path argument.

The implementation follows the pattern used by other custom terminal apps like neovim and kitty. GitKraken requires special handling to properly open repositories with the correct path argument.

Key changes:

  • Added GitKraken to supported terminal applications
  • Implemented custom command handling for GitKraken paths
  • Added bundle identifier for GitKraken app detection
  • Made command configurable through user defaults like other terminals

Users can now open folders directly in GitKraken from Finder using the context menu or toolbar. The implementation preserves path escaping and handles spaces in paths correctly.

Custom command configuration allows users to modify the launch behavior if needed.

Does this solve an existing issue? If so, add a link to it

Fixes #233.

Steps to test this feature

  • Install GitKraken.
  • Build OpenInTerminal from sources.
  • Check if GitKraken is available within OpenInTerminal available apps list.

Screenshots

Screenshot 2025-04-26 at 03 09 09

Additional info


On a different note, thank you @Ji4n1ng for your open source work! Your work is really appreciated!

Maybe think about adding a buymeacoffee.com link to your profile, and your next coffee/beer is on me! ;)

Adds support for opening repositories in GitKraken using the `--path` argument.

The implementation follows the pattern used by other custom terminal apps like neovim and kitty.
GitKraken requires special handling to properly open repositories with the correct path argument.

Key changes:

- Added GitKraken to supported terminal applications
- Implemented custom command handling for GitKraken paths
- Added bundle identifier for GitKraken app detection
- Made command configurable through user defaults like other terminals

Users can now open folders directly in GitKraken from Finder using the context menu or toolbar.
The implementation preserves path escaping and handles spaces in paths correctly.

Custom command configuration allows users to modify the launch behavior if needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitKraken doesn't open selected directory from Finder

1 participant