feat(mise): add new version manager

This commit is contained in:
Stefan Imhoff
2025-07-29 16:46:01 +02:00
parent 16405f5edc
commit 8f023d4c69
6 changed files with 21 additions and 1 deletions

5
bashrc
View File

@@ -25,6 +25,11 @@ if command -v brew >/dev/null 2>&1 && [ -f "$(brew --prefix asdf)/libexec/asdf.s
source "$(brew --prefix asdf)/libexec/asdf.sh"
fi
# Mise
if command -v mise >/dev/null 2>&1; then
eval "$($HOME/.local/bin/mise activate bash)"
fi
# GitHub CLI completion
if command -v gh >/dev/null 2>&1; then
eval "$(gh completion -s bash)"

View File

@@ -140,6 +140,11 @@ if command -v gh >/dev/null 2>&1
eval "$(gh completion -s fish)"
end
# Mise
if command -v mise >/dev/null 2>&1
$HOME/.local/bin/mise activate fish | source
end
# fzf
fzf --fish | source

0
config/mise/mise.toml Normal file
View File

Submodule private updated: 3653c04d4e...dc1baec831

View File

@@ -124,6 +124,10 @@ gpgconf --kill gpg-agent
gpg-agent --daemon
./bin/gpg-keys-restore
# Install mise and mise versions
curl https://mise.run | sh
./private/mise/init.sh
# Install asdf versions
./private/asdf/init.sh
asdf reshim

6
zshrc
View File

@@ -24,6 +24,11 @@ if command -v brew &>/dev/null && [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]
fi
fi
# Mise
if command -v mise &>/dev/null; then
eval "$($HOME/.local/bin/mise activate zsh)"
fi
# GitHub CLI completion
if command -v gh &>/dev/null; then
eval "$(gh completion -s zsh)"
@@ -68,3 +73,4 @@ source "$HOME/.aliases"
for file in ~/.functions/*.sh; do
source "$file"
done