Open bmike opened 10 years ago
I went through the installation bash and it seems like it's enough to remove the following directory
$HOME/.sdkman
and clean up the the following snippet
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$SDKMAN_DIR"
[[ -s "${SDKMAN_DIR}/bin/sdkman-init.sh" ]] && source "${SDKMAN_DIR}/bin/sdkman-init.sh"
from the following files if you're NOT on MacOS
"${HOME}/.bashrc"
"${HOME}/.zshrc"
and from the following files if you are on MacOS
"${HOME}/.bash_profile"
"${HOME}/.zshrc"
Assuming you removed all the installed SDKs and that sdkman removes all the traces of them properly, this should be all you need to do.
Important The installation script might change over time and make this comment outdated.
The read me might be better with a short section at the end on how to uninstall the tool if desired.
Bonus points for making the scripts that touch the shell rc and profile dot files reversible, but just documenting what should be removed would be a nice addition to the project documentation.