dlvhdr / gh-dash

A beautiful CLI dashboard for GitHub 🚀
https://dlvhdr.github.io/gh-dash
MIT License
7.19k stars 217 forks source link

[BUG] The keybindings do not work #153

Open jcornaz opened 2 years ago

jcornaz commented 2 years ago

Describe the bug

The keybindings do not work.

To Reproduce

Use the following ~/.config/gh-dash/config.yml:

prSections:
- title: All
  filters: is:open repo:dlvhdr/gh-dash
keybindings:
  prs:
    - key: c
      command: cd {{.RepoPath}}; gh pr checkout {{.PrNumber}}
repoPaths:
  dlvhdr/gh-dash: ~/Desktop/gh-dash

Execute:

cd ~/Desktop
gh repo clone dlvhdr/gh-dash
gh dash

Select any PR and press c. -> Nothing happens.

Expected behavior

With the configuration above (which is taken from the readme), pressing c should close gh-dash, cd into the repo directory and check out the pull-request.

Desktop (please complete the following information):

dlvhdr commented 2 years ago

@jcornaz thanks gonna check this

scottpopplewell commented 2 years ago

I'm also seeing this @dlvhdr