mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 22:29:08 +08:00
6 lines
131 B
Fish
6 lines
131 B
Fish
|
function git_branch_name -d "Get current branch name"
|
||
|
git_is_repo; and begin
|
||
|
command git symbolic-ref --short HEAD
|
||
|
end
|
||
|
end
|