mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat(mise): add new version manager
This commit is contained in:
5
bashrc
5
bashrc
@@ -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)"
|
||||
|
||||
@@ -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
0
config/mise/mise.toml
Normal file
2
private
2
private
Submodule private updated: 3653c04d4e...dc1baec831
4
setup.sh
4
setup.sh
@@ -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
6
zshrc
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user