Final macOS incompatibility fix.

Closes issue #29.
This commit is contained in:
Raphael Reitzig 2019-11-06 20:52:07 +01:00
parent 7e9d8a7031
commit ac99d1464c
6 changed files with 22 additions and 10 deletions

View file

@ -28,8 +28,8 @@ function __fish_sdkman_using_command
set cmd (commandline -opc)
if [ (count $cmd) -eq 2 ]
if contains $cmd[2] $argv
return 0
if contains $cmd[2] $argv
return 0
end
end
return 1
@ -39,8 +39,8 @@ function __fish_sdkman_specifying_candidate
set cmd (commandline -opc)
if [ (count $cmd) -eq 3 ] # currently, sdk does not support multiple versions
if contains $cmd[2] $argv ]
return 0
if contains $cmd[2] $argv
return 0
end
end
return 1