diff --git a/hosts/pinwheel/modules/work/wt.zsh b/hosts/pinwheel/modules/work/wt.zsh index 12451d7..803d757 100644 --- a/hosts/pinwheel/modules/work/wt.zsh +++ b/hosts/pinwheel/modules/work/wt.zsh @@ -40,6 +40,7 @@ wt() { ;; sync) gt --cwd "$primary" sync "${@:2}" || return + git -C "$primary" worktree prune local line branch merged failed=() merged=(${(f)"$(jq -r '.prInfos[] | select(.state == "MERGED") | .headRefName' \ "$primary/.git/.graphite_pr_info" 2>/dev/null)"})