Skip to content

Commit

Permalink
Update installation, activation script for mise
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed Apr 3, 2024
1 parent 3e64a6a commit cad9270
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ fi
# Load mise
if command -v mise >/dev/null; then
eval "$(mise activate bash)"
elif [ -e "$HOME/.local/share/mise/bin/mise" ]; then
eval "$("$HOME/.local/share/mise/bin/mise" activate bash)"
elif [ -e "$HOME/.local/bin/mise" ]; then
eval "$("$HOME/.local/bin/mise" activate bash)"
fi

# Load asdf
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ case "$1" in
if [ "$(uname)" = 'Darwin' ]; then
brew install mise
else
curl https://mise.jdx.dev/install.sh | sh
curl https://mise.run | sh
fi
;;
n)
Expand Down
4 changes: 2 additions & 2 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ fi
# Load mise
if command -v mise >/dev/null; then
eval "$(mise activate zsh)"
elif [ -e "$HOME/.local/share/mise/bin/mise" ]; then
eval "$("$HOME/.local/share/mise/bin/mise" activate zsh)"
elif [ -e "$HOME/.local/bin/mise" ]; then
eval "$("$HOME/.local/bin/mise" activate zsh)"
fi

# Load asdf
Expand Down

0 comments on commit cad9270

Please sign in to comment.