Change git-symbolic-ref to git symbolic-ref.

On my system at least (fedora 15), git-symbolic-ref is an invalid
command. Not sure if it's a BIC change from git itself, a distribution
thing, or a mistake on my end. Either way, no harm in using the
extended version. Now I get git branch status (yay).
This commit is contained in:
Shaun Reich 2011-06-19 14:14:40 -04:00
parent 2583638f4b
commit d38de7365a

View File

@ -5,7 +5,7 @@ function __fish_git_branch_prompt
return 0
end
set branch (git-symbolic-ref HEAD 2>/dev/null| cut -d / -f 3)
set branch (git symbolic-ref HEAD 2>/dev/null| cut -d / -f 3)
# check for rebase, bisect, etc
# TODO