fish: add asdf config

This commit is contained in:
Charles Gould 2025-01-06 00:04:04 -06:00
parent f1888c970e
commit a83af30760
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,9 @@ set -q XDG_CACHE_HOME; or set -gx XDG_CACHE_HOME "$HOME/.cache"
set -q XDG_CONFIG_HOME; or set -gx XDG_CONFIG_HOME "$HOME/.config" set -q XDG_CONFIG_HOME; or set -gx XDG_CONFIG_HOME "$HOME/.config"
set -q XDG_DATA_HOME; or set -gx XDG_DATA_HOME "$HOME/.local/share" set -q XDG_DATA_HOME; or set -gx XDG_DATA_HOME "$HOME/.local/share"
# ASDF
set -gx ASDF_DATA_DIR "$XDG_DATA_HOME/asdf"
# Docker # Docker
set -gx DOCKER_CONFIG "$XDG_CONFIG_HOME/docker" set -gx DOCKER_CONFIG "$XDG_CONFIG_HOME/docker"

View File

@ -17,6 +17,9 @@ if status --is-interactive
# If installed, setup z function # If installed, setup z function
command -q zoxide; and zoxide init fish | source command -q zoxide; and zoxide init fish | source
# If installed, setup asdf
command -q asdf; and source (brew --prefix asdf)/libexec/asdf.fish
# Git prompt # Git prompt
set -g __fish_git_prompt_showdirtystate 1 set -g __fish_git_prompt_showdirtystate 1
set -g __fish_git_prompt_showstashstate 1 set -g __fish_git_prompt_showstashstate 1