forked from ben/dotfiles
7 lines
105 B
Fish
7 lines
105 B
Fish
function git_branch
|
|
if is_git
|
|
echo (git rev-parse --abbrev-ref HEAD ^/dev/null)
|
|
end
|
|
end
|
|
|