completion: github: Use _log_warning instead of simple echo

This commit is contained in:
Noah Gorny
2020-10-10 02:41:45 +03:00
parent 582ea5c260
commit e010512dee

View File

@@ -4,7 +4,7 @@ about-completion "GitHub CLI completion"
if _command_exists gh; 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
eval "$(gh completion --shell=bash)"
fi