Last active
September 6, 2018 02:55
-
-
Save blackcater/846275d87a65a0f4cb41b12f56f79a83 to your computer and use it in GitHub Desktop.
sdkman support fishshell
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
# sdk command | |
function sdk | |
bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && sdk $argv" | |
end | |
# add paths | |
for ITEM in $HOME/.sdkman/candidates/* ; | |
set -gx PATH $PATH $ITEM/current/bin | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment