mirror of
https://github.com/xzeldon/dotfiles-wsl2.git
synced 2025-04-10 06:47:11 +03:00
4 lines
136 B
Fish
4 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
|