aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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