mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
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:
parent
2583638f4b
commit
d38de7365a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue