completion: github: Use _log_warning instead of simple echo

pull/1670/head
Noah Gorny 2020-10-10 02:41:45 +03:00
parent 582ea5c260
commit e010512dee
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ about-completion "GitHub CLI completion"
if _command_exists gh; then if _command_exists gh; then
if _command_exists brew; then if _command_exists brew; then
echo "You don't need github-cli completion enabled if you have system completion enabled" _log_warning "You don't need github-cli completion enabled if you have system completion enabled"
fi fi
eval "$(gh completion --shell=bash)" eval "$(gh completion --shell=bash)"
fi fi