bash-it/completion/available/github-cli.completion.bash

9 lines
199 B
Bash

#!/usr/bin/env bash
cite "about-completion"
about-completion "GitHub CLI completion"
if _binary_exists gh; then
complete -p gh &> /dev/null || return
eval "$(gh completion --shell=bash)"
fi