Add commands to open Github PR in browser

stk 2025-07-10 08:36:03 +02:00
parent 7894185688
commit 999a9ff8c6

@ -78,6 +78,22 @@ customCommands:
stream: yes
```
## Open Existing Github Pull Request in Browser
In the branches panel, opens the PR for the selected branch; in the commits panel, opens the PR for the currently checked out branch.
```yml
customCommands:
- key: "G"
command: "gh pr view -w {{.SelectedLocalBranch.Name}}"
context: "localBranches"
description: "Open Github PR in browser"
- key: "G"
command: "gh pr view -w"
context: "commits"
description: "Open Github PR in browser"
```
## Open Existing GitLab Pull Request in Browser
```yml