Created
September 12, 2023 12:49
-
-
Save novusnota/7a34776a39831b85955c5477841213c4 to your computer and use it in GitHub Desktop.
Simplest way of using https://sdkman.io/ under Fish Shell — add the snippet from the file below to your ~/.config/fish/config.fish and call it a day! No more how to use sdkman with fish issues, a simple wrapper is all you need.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simplest way of using https://sdkman.io/ under Fish Shell: | |
# Add the snippet from the file below to your ~/.config/fish/config.fish and call it a day! | |
# Note: while this trick works, it doesn't give you auto-completion options. | |
function sdk | |
bash -c "source '$HOME/.sdkman/bin/sdkman-init.sh'; sdk $argv[2..-1]" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment