7 lines
149 B
Fish
7 lines
149 B
Fish
#
|
|
# Git branch
|
|
#
|
|
|
|
function __sf_util_git_branch -d "Display the current branch name"
|
|
echo (command git rev-parse --abbrev-ref HEAD 2>/dev/null)
|
|
end
|