Last active
May 13, 2024 02:37
-
-
Save nemolize/2122586f52203655040a19e22d2761f4 to your computer and use it in GitHub Desktop.
Initialize `mise` with zplug example script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Initialize `mise` with zplug example script | |
# https://mise.jdx.dev/ | |
if ! type "mise" > /dev/null; then | |
echo "mise is not installed. Installing mise..." | |
curl https://mise.run | sh | |
fi | |
eval "$(~/.local/bin/mise activate zsh)" | |
if ! mise which usage > /dev/null 2>&1; then | |
echo "mise usage is not installed. Installing usage with mise..." | |
mise use -g usage | |
fi | |
zplug "wintermi/zsh-mise" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment