dotfiles/.bash_it/completion/available/github-cli.completion.bash

10 lines
224 B
Bash
Raw Normal View History

2022-02-27 20:00:49 +01:00
# shellcheck shell=bash
cite "about-completion"
about-completion "GitHub CLI completion"
if _binary_exists gh; then
# If gh already completed, stop
_completion_exists gh && return
eval "$(gh completion --shell=bash)"
fi