fix: make fish shell setup match other shells (#1209)

The asdf.sh file only sets `ASDF_DIR` if it hasn't already been set. This change to the fish file has it do the same.
This commit is contained in:
Shane Liesegang 2022-04-21 16:40:43 +03:00 committed by GitHub
parent 77fd510bdc
commit 6fc4bb8fc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,6 @@
set -x ASDF_DIR (dirname (status -f)) if not set -q ASDF_DIR
set -x ASDF_DIR (dirname (status -f))
end
set -l asdf_user_shims ( set -l asdf_user_shims (
if test -n "$ASDF_DATA_DIR" if test -n "$ASDF_DATA_DIR"