From d38de7365ab7977ba587447d4b0e556a7213467f Mon Sep 17 00:00:00 2001 From: Shaun Reich Date: Sun, 19 Jun 2011 14:14:40 -0400 Subject: [PATCH] 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). --- share/functions/__fish_git_branch_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/__fish_git_branch_prompt.fish b/share/functions/__fish_git_branch_prompt.fish index e2026f6ed..f4d41f01c 100644 --- a/share/functions/__fish_git_branch_prompt.fish +++ b/share/functions/__fish_git_branch_prompt.fish @@ -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