Created
March 15, 2024 20:10
-
-
Save Adirelle/41b9a2309dc5fe24bf02471f906c9042 to your computer and use it in GitHub Desktop.
mise + chezmoi sample configuration
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
[tools] | |
bat = "latest" | |
exa = "latest" | |
ripgrep = "latest" | |
zoxide = "latest" | |
usage = "latest" | |
starship = "latest" | |
jq = "latest" |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
# {{ include "dot_config/mise/config.toml" | sha256sum }} | |
mise plugins install --all --yes | |
mise install | |
for SH in bash fish; do | |
mise activate --shell "$SH" > ~/.config/"$SH"/conf.d/mise."$SH" | |
mise complete --shell "$SH" > ~/.config/"$SH"/completions/mise."$SH" | |
done | |
mkdir -p ~/.config/direnv/lib | |
mise direnv >~/.config/direnv/lib/use_mise.sh | |
ln -snf ~/.config/direnv/lib/use_mise.sh ~/.config/direnv/lib/use_rtx.sh | |
mise plugins install --force \ | |
pdm \ | |
php \ | |
pnpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment