From 480045e5a4b82ca8c87a2f46a3433d0f9ec94bbd Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Tue, 13 Nov 2012 10:27:57 -0600 Subject: [PATCH] Pick the first git in case there are multiple --- lib/scm_breeze.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scm_breeze.sh b/lib/scm_breeze.sh index b9f5a4d..0dc30ce 100644 --- a/lib/scm_breeze.sh +++ b/lib/scm_breeze.sh @@ -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