mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-17 09:26:08 +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
|