Commit Graph

5 Commits

Author SHA1 Message Date
Adin Klotz a3af763f46 Zsh: Rename gh `_pr_helper` to `__pr_numbers` 2020-08-20 23:17:47 -04:00
Adin Klotz 9f86b8a4c5 Zsh: Filter PRs in `gh` completion
e.g. `gh pr reopen` shows closed PRs, since that's what it probably wants,
and `gh pr view` shows all, not just open, PRs
2020-08-20 23:17:47 -04:00
Adin Klotz c477a23465 Zsh: Completion for PR numbers for gh commands 2020-08-20 23:17:47 -04:00
Adin Klotz b90c0a0a09 Zsh: Fix needing to press tab twice to complete gh
I needed to actually call the completion function at the bottom (`$@` is
the array of positional parameters, to get passed to the completion
function)
2020-08-20 23:17:47 -04:00
Adin Klotz 09020864d7 Zsh: Add completion script for `gh` 2020-08-20 23:17:18 -04:00