pass exit code when capturing expected errors

pull/1635/head
cornfeedhobo 2020-08-07 18:41:17 -05:00
parent f55761df8b
commit 43f62c6979
No known key found for this signature in database
GPG Key ID: 724357093F994B26
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@
[[ "$(uname -s)" == 'Darwin' ]] || return 0
# Make sure git is installed
_command_exists git || return
_command_exists git || return 0
# Don't handle completion if it's already managed
! complete -p git &>/dev/null || return
! complete -p git &>/dev/null || return 0
_git_bash_completion_paths=(
# MacOS non-system locations