mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-21 12:13:59 +08:00
4 lines
99 B
Fish
4 lines
99 B
Fish
|
function git_branch_name
|
||
|
echo (git symbolic-ref HEAD ^/dev/null | sed -e 's|^refs/heads/||')
|
||
|
end
|