feat(asdf): remove asdf and update mise

This commit is contained in:
Stefan Imhoff
2025-08-01 13:38:22 +02:00
parent cd193c800a
commit d7ed15f294
13 changed files with 10 additions and 69 deletions

1
asdfrc
View File

@@ -1 +0,0 @@
legacy_version_file = yes

10
bashrc
View File

@@ -20,16 +20,6 @@ bind "set show-all-if-ambiguous on"
# *** *** Tools *** ***
# asdf
if command -v brew >/dev/null 2>&1 && [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]; then
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

@@ -93,13 +93,6 @@ set -x VOLTA_HOME $HOME/.volta
# *** *** Session Paths *** ***
# asdf
set -l asdf_path (brew --prefix asdf)
if test -f $asdf_path/libexec/asdf.fish
source $asdf_path/libexec/asdf.fish
set -x PATH $HOME/.asdf/shims $PATH
end
# Volta
set -x PATH $PATH $VOLTA_HOME/bin
@@ -127,9 +120,6 @@ set -x PATH $PATH /usr/local/sbin
# Emacs
set -x PATH $PATH $HOME/.config/emacs/bin
# Make sure asdf comes first
set -x PATH $HOME/.asdf/shims $PATH
# Stable Diffusion Webui
# set VIRTUAL_ENV $HOME/Code/AI/stable-diffusion-webui/venv
@@ -140,11 +130,6 @@ 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

View File

@@ -1,4 +1,5 @@
[tools]
bun = "latest"
deno = "2.0.0"
direnv = "2.32.2"
go = "1.22.5"
@@ -7,7 +8,9 @@ neovim = "0.11.1"
node = "22.15.1"
python = "3.10.9"
ruby = "3.4.2"
rust = "1.86.0"
rust = "1.88.0"
usage = "latest"
[settings]
idiomatic_version_file_enable_tools = ["ruby"]
idiomatic_version_file_enable_tools = ["ruby", "node"]
not_found_auto_install = true

View File

@@ -24,12 +24,10 @@ brew "openssl@3"
brew "ruby"
# Text processor and publishing toolchain for AsciiDoc
brew "asciidoctor"
# GNU internationalization (i18n) and localization (l10n) library
brew "gettext"
# Extendable version manager with support for Ruby, Node.js, Erlang & more
brew "asdf"
# Improved shell history for zsh, bash, fish and nushell
brew "atuin", restart_service: :changed
# GNU internationalization (i18n) and localization (l10n) library
brew "gettext"
# Library for command-line editing
brew "readline"
# Programmable completion for Bash 3.2
@@ -218,6 +216,8 @@ brew "mactop"
brew "mas"
# Fast and user friendly build system
brew "meson"
# Polyglot runtime manager (asdf rust clone)
brew "mise"
# CLI tool for saving complete web pages as a single HTML file
brew "monolith"
# Feature-rich command-line audio/video downloader

View File

@@ -16,8 +16,6 @@ brew "asciidoctor"
# GNU internationalization (i18n) and localization (l10n) library
brew "gettext"
# Extendable version manager with support for Ruby, Node.js, Erlang & more
brew "asdf"
# Improved shell history for zsh, bash, fish and nushell
brew "atuin"
# Programmable completion for Bash 3.2
brew "bash-completion"

View File

@@ -20,8 +20,6 @@ brew "ruby"
brew "asciidoctor"
# GNU internationalization (i18n) and localization (l10n) library
brew "gettext"
# Extendable version manager with support for Ruby, Node.js, Erlang & more
brew "asdf"
# Improved shell history for zsh, bash, fish and nushell
brew "atuin"
# Library for command-line editing

View File

@@ -18,7 +18,6 @@
~/.ack: ack
~/.ag: ag
~/.aliases: aliases
~/.asdfrc: asdfrc
~/.bash_profile: bash_profile
~/.bashrc: bashrc
~/.ctags: ctags
@@ -36,7 +35,6 @@
~/.markdownlint.yaml: markdownlint.yaml
~/.profile: profile
~/.session-variables.sh: session-variables.sh
~/.tool-versions: tool-versions
~/.wakatime.cfg: private/wakatime.cfg
~/.wget: wget
~/.zsh_plugins.txt: zsh_plugins.txt

Submodule private updated: 2d70cadb8a...dc051e7672

View File

@@ -69,6 +69,3 @@ fi
export PATH="/usr/bin:$PATH"
export PATH="/usr/local/bin:$PATH"
export PATH="/usr/local/sbin:$PATH"
# asdf
export PATH="$HOME/.asdf/shims:$PATH"

View File

@@ -128,10 +128,6 @@ gpg-agent --daemon
curl https://mise.run | sh
./private/mise/init.sh
# Install asdf versions
./private/asdf/init.sh
asdf reshim
# Install Doom Emacs
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install

View File

@@ -1,9 +0,0 @@
deno 2.0.0
python 3.10.9
lua 5.4.6
rust 1.86.0
ruby 3.3.4
golang 1.22.5
nodejs 22.15.1
neovim 0.11.1
direnv 2.32.2

14
zshrc
View File

@@ -15,20 +15,6 @@ bindkey -M viins '^z' fzf-cd-widget # (z) jump
# *** *** Tools *** ***
# asdf
if command -v brew &>/dev/null && [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]; then
. "$(brew --prefix asdf)/libexec/asdf.sh"
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc" ]; then
source "${XDG_CONFIG_HOME:-$HOME/.config}/asdf-direnv/zshrc"
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)"