Skip to content

Instantly share code, notes, and snippets.

@fedragon
Last active July 16, 2025 03:07
Show Gist options
  • Select an option

  • Save fedragon/cccf6d65dd6e0da1dc2a1200db8412f4 to your computer and use it in GitHub Desktop.

Select an option

Save fedragon/cccf6d65dd6e0da1dc2a1200db8412f4 to your computer and use it in GitHub Desktop.
How to use SDKMan! with Fish shell
# Install bass (https://github.com/edc/bass) to be able to use bash utilities in Fish
fisher add edc/bass
touch ~/.config/fish/functions/sdk.fish
# paste content in ~/.config/fish/functions/sdk.fish, then save
function sdk
bass source ~/.sdkman/bin/sdkman-init.sh ';' sdk $argv
end
# open new fish shell and enjoy sdkman
sdk ls
@jupabeto00
Copy link

Ty man

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment