From 211d3d3b91c52e418a3e25af4a021da93c64ed4d Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:19:03 -0600 Subject: [PATCH] docs: note hooks require `mise activate` --- docs/hooks.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/hooks.md b/docs/hooks.md index 07638c9887..f87307550b 100644 --- a/docs/hooks.md +++ b/docs/hooks.md @@ -1,6 +1,8 @@ # Hooks -You can have mise automatically execute scripts when it runs. The configuration goes into `mise.toml`. +You can have mise automatically execute scripts during a `mise activate` session. You cannot use these +without the `mise activate` shell hook installed in your shell—except the `preinstall` and `postinstall` hooks. +The configuration goes into `mise.toml`. ## CD hook