mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat(asdf): remove asdf and update mise
This commit is contained in:
10
bashrc
10
bashrc
@@ -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)"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
2
private
2
private
Submodule private updated: 2d70cadb8a...dc051e7672
@@ -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"
|
||||
|
||||
4
setup.sh
4
setup.sh
@@ -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
|
||||
|
||||
@@ -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
14
zshrc
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user