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!: Remove files containing only asdf wrapper functions #1525

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

hyperupcall
Copy link
Contributor

Summary

To improve consistency with Nushell, Elvish, and PowerShell Core, this moves the wrapper functions for Fish and Bash/Zsh/POSIX Shell to their respective entrypoints.

@hyperupcall hyperupcall requested a review from a team as a code owner March 31, 2023 09:47
@hyperupcall hyperupcall changed the title fix!: Remove all asdf wrapper functions fix!: Remove files containing only asdf wrapper functions Mar 31, 2023
Copy link
Contributor

@jthegedus jthegedus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks!

@jthegedus jthegedus merged commit 00fee78 into asdf-vm:master Apr 1, 2023
@hyperupcall hyperupcall deleted the no-wrapper-files branch April 1, 2023 05:47
@Stratus3D
Copy link
Member

This is great!

willnorris added a commit to willnorris/dotfiles that referenced this pull request May 21, 2023
Previously, loading ASDF_DIR/asdf.sh rewrote ASDF's placement in PATH,
which required only loading it in root shells, and loading
ASDF_DIR/lib/asdf.sh in subshells.

asdf reworked asdf.sh in asdf-vm/asdf/#1480 and asdf-vm/asdf#1521 and
removed ASDF_DIR/lib/asdf.sh in asdf-vm/asdf#1525, which makes this
workaround no longer effective.

Instead, manually add ASDF_DIR/bin and ASDF_DATA_DIR/shim to PATH
directly in root shells and load ASDF_DIR/asdf.sh in all shells (since
it no longer messes with PATH).
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.

3 participants