Permalink
Browse files

Merge pull request #71 from skwp/multiple-gits

Pick the first git in case there are multiple
  • Loading branch information...
ndbroadbent committed Nov 14, 2012
2 parents 992b186 + 480045e commit c46e165ca89b7b73c022a00ad269aed00d56a1b7
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/scm_breeze.sh
View
@@ -13,7 +13,7 @@ disable_nullglob() { if [ $shell = "zsh" ]; then unsetopt NULL_GLOB; else shopt
_alias(){ alias "$@" 2> /dev/null; }
if [ $shell = "zsh" ]; then
- export GIT_BINARY=$(type -p git | sed 's/git is //')
+ export GIT_BINARY=$(type -p git | sed 's/git is //' | head -1)
else
export GIT_BINARY=$(type -P git)
fi

0 comments on commit c46e165

Please sign in to comment.