From 51dce678ae3c6d0b0226a0e25487fb1b29658b28 Mon Sep 17 00:00:00 2001 From: Alec Rust Date: Mon, 8 Jan 2024 20:14:21 +0000 Subject: [PATCH] Replace "mise hook-env" usage with "add shims to PATH" https://github.com/jdx/mise-docs/pull/14 --- dotfiles/.huskyrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dotfiles/.huskyrc b/dotfiles/.huskyrc index a1f01ab..463fd8f 100644 --- a/dotfiles/.huskyrc +++ b/dotfiles/.huskyrc @@ -1,7 +1,5 @@ # Runs before husky hooks, in non-interative shell environments like Sourcetree # https://typicode.github.io/husky/troubleshooting.html#command-not-found -# Load mise and update PATH using hook-env -# https://mise.jdx.dev/faq.html#mise-isn-t-working-when-calling-from-tmux-or-another-shell-initialization-script -eval "$(mise activate bash)" -eval "$(mise hook-env)" +# Add mise shims to PATH +export PATH="$HOME/.local/share/mise/shims:$PATH"