formatted github-cli completion

pull/1801/head
Gurkirat Singh 2021-01-10 19:24:05 +05:30 committed by Noah Gorny
parent 8969f018a4
commit 759cdd5a6d
1 changed files with 2 additions and 4 deletions

View File

@ -3,8 +3,6 @@ cite "about-completion"
about-completion "GitHub CLI completion"
if _binary_exists gh; then
if _command_exists brew; then
_log_warning "You don't need github-cli completion enabled if you have system completion enabled"
fi
eval "$(gh completion --shell=bash)"
complete -p gh &> /dev/null || return
eval "$(gh completion --shell=bash)"
fi