.dotfiles/.config/fish/functions/__git.branch_has_wip.fish
2026-02-23 22:20:58 +02:00

3 lines
136 B
Fish

function __git.branch_has_wip -d "Returns 0 if branch has --wip--, otherwise 1"
git log -n 1 2>/dev/null | grep -qc "\-\-wip\-\-"
end