Skip to content

autoenv support#12

Open
rprcz wants to merge 2 commits into
deather:masterfrom
rprcz:autoenv
Open

autoenv support#12
rprcz wants to merge 2 commits into
deather:masterfrom
rprcz:autoenv

Conversation

@rprcz
Copy link
Copy Markdown

@rprcz rprcz commented Nov 17, 2023

This adds SDKMAN's autoenv support.

It is inspired by SDKMAN's own chdir hook functions. But there is no need to copy all the executed command from the original hook as it is run by sdkman-init.sh anyway, so I just run the script and let it work it's magic. The rest is to workaround fenv's limitation and not to run the sdkman-init.sh script when unnecessary.

I'm new to fish, so feel free to suggest improvements.

@rprcz
Copy link
Copy Markdown
Author

rprcz commented Nov 30, 2023

@deather anything preventing you from merging this?

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.

1 participant