edc / bass

Make Bash utilities usable in Fish shell
MIT License
2.22k stars 71 forks source link

Support for sdkman #39

Closed rocketraman closed 7 years ago

rocketraman commented 7 years ago

sdman is a virtualenv-like utility for the java ecosystem: http://sdkman.io/ (source: https://github.com/sdkman/sdkman-cli)

Currently, bass grabs the environment variables after running sdkman-init.sh, but does not setup the sdk command itself. I'm not sure what that is -- perhaps it has something to do with the nested source calls?

edc commented 7 years ago

This is the same as many other tools such as nvm. The trick is to call sdk also with bass. See the readme section on nvm for an example.