Fixes path to look for installed versions.

Fixes issue #3.
This commit is contained in:
Raphael Reitzig 2018-07-11 02:53:33 +02:00
parent f6eaf49d1f
commit 6f855f1c87

View file

@ -48,7 +48,7 @@ end
function __fish_sdkman_installed_versions function __fish_sdkman_installed_versions
set cmd (commandline -opc) set cmd (commandline -opc)
ls -v1 ~/.sdkman/$cmd[3] | grep -v current ls -v1 ~/.sdkman/candidates/$cmd[3] | grep -v current
end end
# install # install