-
-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
if i put the following in my config file :
keybindings:
universal: []
issues: []
prs:
- key: k
name: squash
command: gh pr --repo {{.RepoName}} {{.PrNumber}} -s
when i press k on the approved PR, i get Whoops, got an error: exec: "sh": executable file not found in %PATH%
this is because on windows sh nor SHELL ENV do not exist by default.
see code executeCustomCommand
To Reproduce
- add above to config
- press k, on windows
Expected behavior
i expect the PR to be squashed and merged when k is pressed.
i expect custom commands on windows to work
Desktop (please complete the following information):
- OS: windows 11 in powershell
my main request is i want a way to squash and merge, and not just merge a PR.
but, besides that, it seems like the above keybinding should be made to work.
on windows, i think the logic should be to default to powershell
dlvhdr
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working