Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ludams
Copy link

@ludams ludams commented Apr 14, 2024

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

@ludams ludams requested a review from a team as a code owner April 14, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant