From 27703a4f4739c95aa06115876281c6cd4ce97eae Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Mon, 6 Jan 2025 00:04:04 -0600 Subject: [PATCH] fish: add asdf config --- fish/conf.d/xdg.fish | 3 +++ fish/config.fish | 3 +++ 2 files changed, 6 insertions(+) diff --git a/fish/conf.d/xdg.fish b/fish/conf.d/xdg.fish index aaaefcc..a22bb3c 100644 --- a/fish/conf.d/xdg.fish +++ b/fish/conf.d/xdg.fish @@ -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_DATA_HOME; or set -gx XDG_DATA_HOME "$HOME/.local/share" +# ASDF +set -gx ASDF_DATA_DIR "$XDG_DATA_HOME/asdf" + # Docker set -gx DOCKER_CONFIG "$XDG_CONFIG_HOME/docker" diff --git a/fish/config.fish b/fish/config.fish index 1dd2383..0d82252 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -17,6 +17,9 @@ if status --is-interactive # If installed, setup z function 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 set -g __fish_git_prompt_showdirtystate 1 set -g __fish_git_prompt_showstashstate 1