mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-16 02:11:41 +00:00
[Fix #67] Rename git-branch to git-current-branch
There is a name collision in Git versions older than 1.6.0, which install the git-* commands in $PATH.
This commit is contained in:
@ -16,7 +16,7 @@ url=$(
|
||||
branches=($(
|
||||
git branch -r | sed -e "/${remote}\/HEAD -> ${remote}/d" -e "s/^[[:space:]]*${remote}\///g"
|
||||
))
|
||||
current_branch="$(git-branch)"
|
||||
current_branch="$(git-current-branch)"
|
||||
branch="${2:-master}"
|
||||
file="$3"
|
||||
|
||||
|
Reference in New Issue
Block a user