Skip to content
This repository
Browse code

Merge pull request #71 from skwp/multiple-gits

Pick the first git in case there are multiple
  • Loading branch information...
commit c46e165ca89b7b73c022a00ad269aed00d56a1b7 2 parents 992b186 + 480045e
Nathan Broadbent authored November 14, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/scm_breeze.sh
2  lib/scm_breeze.sh
@@ -13,7 +13,7 @@ disable_nullglob() { if [ $shell = "zsh" ]; then unsetopt NULL_GLOB; else shopt
13 13
 _alias(){ alias "$@" 2> /dev/null; }
14 14
 
15 15
 if [ $shell = "zsh" ]; then
16  
-  export GIT_BINARY=$(type -p git | sed 's/git is //')
  16
+  export GIT_BINARY=$(type -p git | sed 's/git is //' | head -1)
17 17
 else
18 18
   export GIT_BINARY=$(type -P git)
19 19
 fi

0 notes on commit c46e165

Please sign in to comment.
Something went wrong with that request. Please try again.