Skip to content

Commit

Permalink
completion/git: use _completion_exists()
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelicWizard committed Oct 10, 2021
1 parent 6fcc91a commit fa6d726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completion/available/git.completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_command_exists git || return

# Don't handle completion if it's already managed
if complete -p git &> /dev/null; then
if _completion_exists git; then
_log_warning "completion already loaded - this usually means it is safe to stop using this completion"
return 0
fi
Expand Down

0 comments on commit fa6d726

Please sign in to comment.