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 *** ***
|
# *** *** 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
|
# 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)"
|
||||||
|
|||||||
@@ -93,13 +93,6 @@ set -x VOLTA_HOME $HOME/.volta
|
|||||||
|
|
||||||
# *** *** Session Paths *** ***
|
# *** *** 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
|
# Volta
|
||||||
set -x PATH $PATH $VOLTA_HOME/bin
|
set -x PATH $PATH $VOLTA_HOME/bin
|
||||||
|
|
||||||
@@ -127,9 +120,6 @@ set -x PATH $PATH /usr/local/sbin
|
|||||||
# Emacs
|
# Emacs
|
||||||
set -x PATH $PATH $HOME/.config/emacs/bin
|
set -x PATH $PATH $HOME/.config/emacs/bin
|
||||||
|
|
||||||
# Make sure asdf comes first
|
|
||||||
set -x PATH $HOME/.asdf/shims $PATH
|
|
||||||
|
|
||||||
# Stable Diffusion Webui
|
# Stable Diffusion Webui
|
||||||
# set VIRTUAL_ENV $HOME/Code/AI/stable-diffusion-webui/venv
|
# 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)"
|
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
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
[tools]
|
[tools]
|
||||||
|
bun = "latest"
|
||||||
deno = "2.0.0"
|
deno = "2.0.0"
|
||||||
direnv = "2.32.2"
|
direnv = "2.32.2"
|
||||||
go = "1.22.5"
|
go = "1.22.5"
|
||||||
@@ -7,7 +8,9 @@ neovim = "0.11.1"
|
|||||||
node = "22.15.1"
|
node = "22.15.1"
|
||||||
python = "3.10.9"
|
python = "3.10.9"
|
||||||
ruby = "3.4.2"
|
ruby = "3.4.2"
|
||||||
rust = "1.86.0"
|
rust = "1.88.0"
|
||||||
|
usage = "latest"
|
||||||
|
|
||||||
[settings]
|
[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"
|
brew "ruby"
|
||||||
# Text processor and publishing toolchain for AsciiDoc
|
# Text processor and publishing toolchain for AsciiDoc
|
||||||
brew "asciidoctor"
|
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
|
# Improved shell history for zsh, bash, fish and nushell
|
||||||
brew "atuin", restart_service: :changed
|
brew "atuin", restart_service: :changed
|
||||||
|
# GNU internationalization (i18n) and localization (l10n) library
|
||||||
|
brew "gettext"
|
||||||
# Library for command-line editing
|
# Library for command-line editing
|
||||||
brew "readline"
|
brew "readline"
|
||||||
# Programmable completion for Bash 3.2
|
# Programmable completion for Bash 3.2
|
||||||
@@ -218,6 +216,8 @@ brew "mactop"
|
|||||||
brew "mas"
|
brew "mas"
|
||||||
# Fast and user friendly build system
|
# Fast and user friendly build system
|
||||||
brew "meson"
|
brew "meson"
|
||||||
|
# Polyglot runtime manager (asdf rust clone)
|
||||||
|
brew "mise"
|
||||||
# CLI tool for saving complete web pages as a single HTML file
|
# CLI tool for saving complete web pages as a single HTML file
|
||||||
brew "monolith"
|
brew "monolith"
|
||||||
# Feature-rich command-line audio/video downloader
|
# Feature-rich command-line audio/video downloader
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ brew "asciidoctor"
|
|||||||
# GNU internationalization (i18n) and localization (l10n) library
|
# GNU internationalization (i18n) and localization (l10n) library
|
||||||
brew "gettext"
|
brew "gettext"
|
||||||
# Extendable version manager with support for Ruby, Node.js, Erlang & more
|
# Extendable version manager with support for Ruby, Node.js, Erlang & more
|
||||||
brew "asdf"
|
|
||||||
# Improved shell history for zsh, bash, fish and nushell
|
|
||||||
brew "atuin"
|
brew "atuin"
|
||||||
# Programmable completion for Bash 3.2
|
# Programmable completion for Bash 3.2
|
||||||
brew "bash-completion"
|
brew "bash-completion"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@ brew "ruby"
|
|||||||
brew "asciidoctor"
|
brew "asciidoctor"
|
||||||
# GNU internationalization (i18n) and localization (l10n) library
|
# GNU internationalization (i18n) and localization (l10n) library
|
||||||
brew "gettext"
|
brew "gettext"
|
||||||
# Extendable version manager with support for Ruby, Node.js, Erlang & more
|
|
||||||
brew "asdf"
|
|
||||||
# Improved shell history for zsh, bash, fish and nushell
|
# Improved shell history for zsh, bash, fish and nushell
|
||||||
brew "atuin"
|
brew "atuin"
|
||||||
# Library for command-line editing
|
# Library for command-line editing
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
~/.ack: ack
|
~/.ack: ack
|
||||||
~/.ag: ag
|
~/.ag: ag
|
||||||
~/.aliases: aliases
|
~/.aliases: aliases
|
||||||
~/.asdfrc: asdfrc
|
|
||||||
~/.bash_profile: bash_profile
|
~/.bash_profile: bash_profile
|
||||||
~/.bashrc: bashrc
|
~/.bashrc: bashrc
|
||||||
~/.ctags: ctags
|
~/.ctags: ctags
|
||||||
@@ -36,7 +35,6 @@
|
|||||||
~/.markdownlint.yaml: markdownlint.yaml
|
~/.markdownlint.yaml: markdownlint.yaml
|
||||||
~/.profile: profile
|
~/.profile: profile
|
||||||
~/.session-variables.sh: session-variables.sh
|
~/.session-variables.sh: session-variables.sh
|
||||||
~/.tool-versions: tool-versions
|
|
||||||
~/.wakatime.cfg: private/wakatime.cfg
|
~/.wakatime.cfg: private/wakatime.cfg
|
||||||
~/.wget: wget
|
~/.wget: wget
|
||||||
~/.zsh_plugins.txt: zsh_plugins.txt
|
~/.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/bin:$PATH"
|
||||||
export PATH="/usr/local/bin:$PATH"
|
export PATH="/usr/local/bin:$PATH"
|
||||||
export PATH="/usr/local/sbin:$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
|
curl https://mise.run | sh
|
||||||
./private/mise/init.sh
|
./private/mise/init.sh
|
||||||
|
|
||||||
# Install asdf versions
|
|
||||||
./private/asdf/init.sh
|
|
||||||
asdf reshim
|
|
||||||
|
|
||||||
# Install Doom Emacs
|
# Install Doom Emacs
|
||||||
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
|
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
|
||||||
~/.config/emacs/bin/doom install
|
~/.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 *** ***
|
# *** *** 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
|
# 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)"
|
||||||
|
|||||||
Reference in New Issue
Block a user