mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08: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
|
@ -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 New Issue
Block a user