Skip to content

Instantly share code, notes, and snippets.

@nemolize
Last active May 13, 2024 02:37
Show Gist options
  • Save nemolize/2122586f52203655040a19e22d2761f4 to your computer and use it in GitHub Desktop.
Save nemolize/2122586f52203655040a19e22d2761f4 to your computer and use it in GitHub Desktop.
Initialize `mise` with zplug example script
# 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