support ubuntu git completion

pull/1635/head
cornfeedhobo 2020-07-08 11:16:34 -05:00
parent 864f754d03
commit 137346974a
No known key found for this signature in database
GPG Key ID: 724357093F994B26
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ complete -p git &>/dev/null && return
_git_bash_completion_paths=(
# Linux
'/etc/bash_completion.d/git.sh'
'/usr/share/bash-completion/completions/git'
# MacOS
'/Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash'
'/Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash'