switch_to_mise_and_chezmoi #1

Merged
xavier merged 4 commits from switch_to_mise_and_chezmoi into master 2025-09-28 18:01:05 +02:00
Showing only changes of commit 3aeb0650c4 - Show all commits

View File

@@ -8,13 +8,22 @@ if (! command -v mise &>/dev/null); then
curl https://mise.run | sh curl https://mise.run | sh
fi fi
if (command -v mise &>/dev/null); then # Activate mise
# Activate
eval "$(mise activate bash)" test -x ~/.local/bin/mise && eval "$(~/.local/bin/mise activate bash)"
# Configure mise
#
mise settings set experimental true mise settings set experimental true
(mise where usage &>/dev/null) || mise use -g usage # for completion
(mise where &>/dev/null) || mise use -g usage # for completion
# Install some essential tools
if (command -v mise &>/dev/null); then
# Install some plugins # Install some plugins
(mise where usage &>/dev/null) || mise use -g usage # for completion (mise where usage &>/dev/null) || mise use -g usage # for completion
# mise use -g cargo:ubi # to install binaries from Github release
(mise where chezmoi &>/dev/null) || mise use -g chezmoi # to manage dotfiles (mise where chezmoi &>/dev/null) || mise use -g chezmoi # to manage dotfiles
# mise use -g cargo:ubi # to install binaries from Github release
fi fi