Преглед изворни кода

profile: fix path to git completion on mac os x

Kyle P Davis пре 10 година
родитељ
комит
9c1d32e022
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .profile

+ 1 - 1
.profile

@@ -79,7 +79,7 @@ fi
 # bash completion FTW
 if [ "$OS" = "Darwin" ]; then
 	F="$BREW_PREFIX/etc/bash_completion";  ! [ -f "$F" ]  ||  . "$F"
-	F="/Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash";  ! [ -f "$F" ]  ||  . "$F"
+	F="$(xcode-select -p)/usr/share/git-core/git-completion.bash";  ! [ -f "$F" ]  ||  . "$F"
 else
 	F="/etc/bash_completion";  ! [ -f "$F" ]  ||  . "$F"
 fi