install fisher if not installed for fish users
This commit is contained in:
parent
562db55e3e
commit
ddbede6154
1 changed files with 6 additions and 1 deletions
|
@ -1,9 +1,14 @@
|
||||||
# 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"
|
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
|
||||||
if [ -x $HOME/.config/fish ] ; then
|
if [ -x $HOME/.config/fish ] ; then
|
||||||
|
if [ ! -x $HOME/.config/fisher ] ; then # Install fisher if not installed
|
||||||
|
curl -sL https://git.io/fisher | fish -c 'source && fisher install jorgebucaran/fisher'
|
||||||
|
fi
|
||||||
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
|
||||||
sdk install java 17.0.1-tem
|
sdk install java 17.0.1-tem
|
||||||
|
|
Reference in a new issue