Skip to content

Commit fa6d726

Browse files
committed
completion/git: use _completion_exists()
1 parent 6fcc91a commit fa6d726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completion/available/git.completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
_command_exists git || return
77

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

0 commit comments

Comments
 (0)