File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ __sdkman_complete_command() {
2222 sdk)
2323 candidates=("install" "uninstall" "list" "use" "completion" "config" "default" "home" "env" "current" "upgrade" "version" "broadcast" "help" "offline" "selfupdate" "update" "flush")
2424 ;;
25- use)
25+ current|default|home|uninstall|upgrade| use)
2626 local -r candidate_paths=("${SDKMAN_CANDIDATES_DIR}"/*)
2727
2828 for candidate_path in "${candidate_paths[@]}"; do
2929 candidates+=(${candidate_path##*/})
3030 done
3131 ;;
32- install)
32+ install|list )
3333 while IFS= read -d, -r candidate; do
3434 candidates+=($candidate)
3535 done < <(curl --silent "${SDKMAN_CANDIDATES_API}/candidates/all")
@@ -62,7 +62,7 @@ __sdkman_complete_candidate_version() {
6262 local candidates
6363
6464 case $command in
65- use)
65+ use|default|home|uninstall )
6666 local -r version_paths=("${SDKMAN_CANDIDATES_DIR}/${candidate}"/*)
6767
6868 for version_path in "${version_paths[@]}"; do
You can’t perform that action at this time.
0 commit comments