completion: github: Use _log_warning instead of simple echo
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user