Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix: rename pre-remove to post-remove hook

Maximilian Rooscb71c0ba33f3
diff --git a/.config/wt.toml b/.config/wt.toml
index a2b373dca..a921c7bf4 100644
--- a/.config/wt.toml
+++ b/.config/wt.toml
@@ -18,5 +18,5 @@ doc = "RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps"
[list]
url = "http://127.0.0.1:{{ branch | hash_port }}"
-[pre-remove]
+[post-remove]
docs = "lsof -ti :{{ branch | hash_port }} | xargs kill 2>/dev/null || true"