From 08bf79807ddae4af3da69a3c7a61606c0c4d1e0d Mon Sep 17 00:00:00 2001 From: Gavin Williams Date: Sun, 9 Apr 2023 20:22:05 +0100 Subject: [PATCH] Use `ASDF_DIR` instead of `ASDF_DATA_DIR` `ASDF_DATA_DIR` is used to define a user write-able directory, typically `$HOME/.asdf`. However `asdf.fish` exists within the `$ASDF_DIR`. --- conf.d/asdf.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.d/asdf.fish b/conf.d/asdf.fish index aa24984..67f31f0 100644 --- a/conf.d/asdf.fish +++ b/conf.d/asdf.fish @@ -1,5 +1,5 @@ -if test -n "$ASDF_DATA_DIR" -a -d "$ASDF_DATA_DIR" - source $ASDF_DATA_DIR/asdf.fish +if test -n "$ASDF_DIR" -a -d "$ASDF_DIR" + source $ASDF_DIR/asdf.fish else if test -f ~/.asdf/asdf.fish source ~/.asdf/asdf.fish else if test -f /usr/local/opt/asdf/asdf.fish