dotfiles/.config/fish/functions/git_current_branch.fish

4 lines
128 B
Fish
Raw Normal View History

2024-12-15 22:46:38 +00:00
function git_current_branch -d 'Detect name of current branch of current git repository'
echo (git branch --show-current)
end