Files
dotfiles/.config/fish/functions/_pure_parse_git_branch.fish
T
Geoff dd3895ccbd Dotfiles commit (try to keep under 50 characters)
Multi-line description of commit,
feel free to be detailed.

[Ticket: X]
~
~
".git/COMMIT_EDITMSG" 14L, 297C
2026-05-05 10:37:59 +02:00

5 lines
198 B
Fish

function _pure_parse_git_branch --description "Parse current Git branch name"
command git symbolic-ref --short HEAD 2>/dev/null;
or command git name-rev --name-only HEAD 2>/dev/null
end