Changed the asdf.nu setup script to actually use the ASDF_DATA_DIR instead of the ASDF_DIR environment variable as base for the shims directory, which is added to the PATH env var.
Currently the script only checks, if the ASDF_DATA_DIR env var is set, but then uses ASDF_DIR env var instead to create the path to the shims. The scripts of the other shells do it correctly e.g. asdf.fish.
Summary
Changed the
asdf.nu
setup script to actually use theASDF_DATA_DIR
instead of theASDF_DIR
environment variable as base for the shims directory, which is added to thePATH
env var.Currently the script only checks, if the
ASDF_DATA_DIR
env var is set, but then usesASDF_DIR
env var instead to create the path to the shims. The scripts of the other shells do it correctly e.g. asdf.fish.Other Information
Relevant documentation part about ASDF_DATA_DIR