Skip to content

Commit

Permalink
Replace "mise hook-env" usage with "add shims to PATH"
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecRust committed Jan 8, 2024
1 parent 6b08b0b commit 51dce67
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dotfiles/.huskyrc
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 51dce67

Please sign in to comment.