aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
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 447cd0b..5caa7fc 100644
--- a/home/zshrc
+++ b/home/zshrc
@@ -86,7 +86,11 @@ else
fi
# Mise
-eval "$(~/.local/bin/mise activate zsh)"
+if [[ -s "/opt/homebrew/bin/brew" ]]; then
+ eval "$(/opt/homebrew/bin/mise activate zsh)"
+else
+ eval "$(~/.local/bin/mise activate zsh)"
+fi
# Cargo
if [[ -s "$HOME/.cargo/env" ]]; then