mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +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"
|
source "$(brew --prefix asdf)/libexec/asdf.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Mise
|
||||||
|
if command -v mise >/dev/null 2>&1; then
|
||||||
|
eval "$($HOME/.local/bin/mise activate bash)"
|
||||||
|
fi
|
||||||
|
|
||||||
# GitHub CLI completion
|
# GitHub CLI completion
|
||||||
if command -v gh >/dev/null 2>&1; then
|
if command -v gh >/dev/null 2>&1; then
|
||||||
eval "$(gh completion -s bash)"
|
eval "$(gh completion -s bash)"
|
||||||
|
|||||||
@@ -140,6 +140,11 @@ if command -v gh >/dev/null 2>&1
|
|||||||
eval "$(gh completion -s fish)"
|
eval "$(gh completion -s fish)"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Mise
|
||||||
|
if command -v mise >/dev/null 2>&1
|
||||||
|
$HOME/.local/bin/mise activate fish | source
|
||||||
|
end
|
||||||
|
|
||||||
# fzf
|
# fzf
|
||||||
fzf --fish | source
|
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
|
gpg-agent --daemon
|
||||||
./bin/gpg-keys-restore
|
./bin/gpg-keys-restore
|
||||||
|
|
||||||
|
# Install mise and mise versions
|
||||||
|
curl https://mise.run | sh
|
||||||
|
./private/mise/init.sh
|
||||||
|
|
||||||
# Install asdf versions
|
# Install asdf versions
|
||||||
./private/asdf/init.sh
|
./private/asdf/init.sh
|
||||||
asdf reshim
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Mise
|
||||||
|
if command -v mise &>/dev/null; then
|
||||||
|
eval "$($HOME/.local/bin/mise activate zsh)"
|
||||||
|
fi
|
||||||
|
|
||||||
# GitHub CLI completion
|
# GitHub CLI completion
|
||||||
if command -v gh &>/dev/null; then
|
if command -v gh &>/dev/null; then
|
||||||
eval "$(gh completion -s zsh)"
|
eval "$(gh completion -s zsh)"
|
||||||
@@ -68,3 +73,4 @@ source "$HOME/.aliases"
|
|||||||
for file in ~/.functions/*.sh; do
|
for file in ~/.functions/*.sh; do
|
||||||
source "$file"
|
source "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user