asdf-vm / asdf

Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
https://asdf-vm.com/
MIT License
21.13k stars 763 forks source link

fix(nushell): Use correct env var for shims dir #1742

Open ludams opened 2 months ago

ludams commented 2 months ago

Summary

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.

Other Information

Relevant documentation part about ASDF_DATA_DIR