mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00: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
|