mirror of
https://github.com/ethauvin/sdkman-for-fish.git
synced 2025-04-25 05:17:11 -07:00
Adds dummy completions instead of available versions.
Should reduce confusion until issue #4 is handled.
This commit is contained in:
parent
e354f8abe6
commit
08404e48fa
2 changed files with 1 additions and 1 deletions
|
@ -101,6 +101,7 @@ complete -c sdk -f -n '__fish_sdkman_sdk_is_missing'
|
|||
# install
|
||||
complete -c sdk -f -n '__fish_sdkman_no_command' -a 'i install' -d 'Install new version'
|
||||
complete -c sdk -f -n '__fish_sdkman_using_command i install' -a "(__fish_sdkman_candidates)"
|
||||
complete -c sdk -f -n '__fish_sdkman_specifying_candidate i install' -a "a.b.c x.y.z" -d "version list unavailable"
|
||||
# TODO complete available versions --> #4
|
||||
complete -c sdk -f -n '__fish_sdkman_command_has_enough_parameters 2 i install' # block
|
||||
|
||||
|
|
|
@ -60,7 +60,6 @@ test_cases = {
|
|||
|
||||
"current an" => ["ant"],
|
||||
"current xyz" => [],
|
||||
# "default j" => [], # TODO: should uninstalled candidates complete here?
|
||||
"current 1." => [],
|
||||
|
||||
"upgrade " => ["ant"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue