dotfiles/.config/fish/functions/__gitnow_current_branch_name.fish

6 lines
181 B
Fish

# GitNow — Speed up your Git workflow. 🐠
# https://github.com/joseluisq/gitnow
function __gitnow_current_branch_name
command git symbolic-ref --short HEAD 2>/dev/null
end