Browse files

Pick the first git in case there are multiple

  • Loading branch information...
1 parent 992b186 commit 480045e5a4b82ca8c87a2f46a3433d0f9ec94bbd @skwp skwp committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/scm_breeze.sh
View
2 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

0 comments on commit 480045e

Please sign in to comment.