From c7346cd91db109f4037efb8824ab54706321f24a Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Feb 2026 18:17:56 +0000 Subject: [PATCH] fix: use correct mise hooks syntax (shell+script instead of run) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Recent mise versions changed the hooks format — `run` key is no longer a valid HookDef variant. Use `shell` + `script` keys instead. https://claude.ai/code/session_01MeeYwatPCABmWk43FpzntD --- mise.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mise.toml b/mise.toml index 364efbf0..83cc3fa3 100644 --- a/mise.toml +++ b/mise.toml @@ -25,7 +25,8 @@ legacy_version_file = false # Auto-configures on directory entry via hooks.enter [hooks.enter] -run = """ +shell = "bash" +script = """ git config core.hooksPath .githooks 2>/dev/null || true # Auto-index on directory entry (incremental, background) [ -f .swiftindex.toml ] && swiftindex index . &>/dev/null &