chore: move asdf to ./local, update configs

Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
2025-02-17 12:17:45 +02:00
parent 8cf3602de1
commit 894ec12fd8
5 changed files with 25 additions and 10 deletions

View File

@@ -294,7 +294,7 @@ export SHORT_HOST=$(hostname -s)
# asdf
# https://github.com/asdf-vm/asdf
msg "Setting up asdf configuration"
export ASDF_DIR="${XDG_BIN_HOME}/asdf"
export ASDF_DIR="${HOME}/.local/asdf"
[[ -d $ASDF_DIR ]] && {
# [[ -d $ASDF_DIR/completions ]] && FPATH="$ASDF_DIR/completions:$FPATH"
# [[ -d $ASDF_DIR/plugins ]] && FPATH="$ASDF_DIR/plugins:$FPATH"

View File

@@ -1,7 +1,15 @@
# ╭──────────────────────────────────────────────────────────╮
# │ fish/config.fish │
# ╰──────────────────────────────────────────────────────────╯
# ASDF configuration code
source $HOME/.local/asdf/asdf.fish
fish_add_path $HOME/.cargo/bin
fish_add_path $HOME/.local/bin
fish_add_path $HOME/.local/share/nvim/mason/bin
fish_add_path $HOME/.local/state/composer/vendor/bin
if status is-interactive
# Commands to run in interactive sessions can go here
fish_add_path $HOME/.cargo/bin
fish_add_path $HOME/.local/bin
fish_add_path $HOME/.local/share/nvim/mason/bin
fish_add_path $HOME/.local/state/composer/vendor/bin
# Commands to run in interactive sessions can go here
end