aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-07-07 21:52:07 +0200
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-07-08 00:07:00 +0200
commitcb6eaa4dceddc797b3189add43d09919202249a1 (patch)
tree8ac807fc6dc4b262d0a4b84d66be47350edcd492 /home
parent422c7e326b04057b104c8ecf96fef58e12dbc48f (diff)
Consider more mise locations
Diffstat (limited to 'home')
-rw-r--r--home/zshrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/home/zshrc b/home/zshrc
index 5caa7fc..5b1f449 100644
--- a/home/zshrc
+++ b/home/zshrc
@@ -89,7 +89,11 @@ fi
if [[ -s "/opt/homebrew/bin/brew" ]]; then
eval "$(/opt/homebrew/bin/mise activate zsh)"
else
- eval "$(~/.local/bin/mise activate zsh)"
+ if [[ -s "/usr/bin/mise" ]]; then
+ eval "$(/usr/bin/mise activate zsh)"
+ else
+ eval "$(~/.local/bin/mise activate zsh)"
+ fi
fi
# Cargo