update for bash users

This commit is contained in:
Anri 2021-11-14 14:57:04 +01:00
parent cac40e540a
commit a87a4a1cc5

View file

@ -1,8 +1,9 @@
# Install SDKMAN # Install SDKMAN
curl -s "https://get.sdkman.io" | bash curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
# Adding Fish support if fish is installed (assumes that Fisher is already installed) # Adding Fish support if fish is installed (assumes that Fisher is already installed)
if [ -x $HOME/.config/fish ] ; then if [ -x $HOME/.config/fish ] ; then
fish -c 'fisher install reitzig/sdkman-for-fish' fish -c 'fisher install reitzig/sdkman-for-fish'
fi fi
# Install Temurin build according with https://whichjdk.com/#adoptium-eclipse-temurin # Install Temurin build according with https://whichjdk.com/#adoptium-eclipse-temurin
fish -c 'sdk install java 17.0.1-tem' sdk install java 17.0.1-tem