only operate on macos.
parent
2374f389b4
commit
4b9d771554
|
|
@ -1,10 +1,13 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Only operate on MacOS since there are no linux paths
|
||||||
|
[ "$(uname -s)" == "Darwin" ] || return
|
||||||
|
|
||||||
# Make sure git is installed
|
# Make sure git is installed
|
||||||
_command_exists git || return
|
_command_exists git || return
|
||||||
|
|
||||||
# Don't handle completion if it's already managed
|
# Don't handle completion if it's already managed
|
||||||
complete -p git &>/dev/null && return
|
! complete -p git &>/dev/null || return
|
||||||
|
|
||||||
_git_bash_completion_paths=(
|
_git_bash_completion_paths=(
|
||||||
# MacOS non-system locations
|
# MacOS non-system locations
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue