omf-sdk icon indicating copy to clipboard operation
omf-sdk copied to clipboard

autoenv support

Open rprcz opened this issue 2 years ago • 1 comments

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 avatar Nov 17 '23 16:11 rprcz

@deather anything preventing you from merging this?

rprcz avatar Nov 30 '23 17:11 rprcz