mirror of https://tildegit.org/ben/dotfiles
6 lines
89 B
Fish
6 lines
89 B
Fish
|
function git_branch
|
||
|
if is_git
|
||
|
echo (git rev-parse --abbrev-ref HEAD ^/dev/null)
|
||
|
end
|
||
|
end
|