mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-04-29 03:25:55 -04:00
Remove completion from completion script :-)
This commit is contained in:
@@ -22,7 +22,7 @@ __sdkman_complete_command() {
|
||||
|
||||
case $command in
|
||||
sdk)
|
||||
candidates=("install" "uninstall" "list" "use" "completion" "config" "default" "home" "env" "current" "upgrade" "version" "broadcast" "help" "offline" "selfupdate" "update" "flush")
|
||||
candidates=("install" "uninstall" "list" "use" "config" "default" "home" "env" "current" "upgrade" "version" "broadcast" "help" "offline" "selfupdate" "update" "flush")
|
||||
;;
|
||||
current|default|home|uninstall|upgrade|use)
|
||||
local -r candidate_paths=("${SDKMAN_CANDIDATES_DIR}"/*)
|
||||
@@ -36,9 +36,6 @@ __sdkman_complete_command() {
|
||||
candidates+=($candidate)
|
||||
done < <(curl --silent "${SDKMAN_CANDIDATES_API}/candidates/all")
|
||||
;;
|
||||
completion)
|
||||
candidates=("bash" "zsh")
|
||||
;;
|
||||
env)
|
||||
candidates=("init install clear")
|
||||
;;
|
||||
|
||||
@@ -28,9 +28,6 @@ _sdk() {
|
||||
flush)
|
||||
compadd archives broadcast tmp version
|
||||
;;
|
||||
completion)
|
||||
compadd bash zsh
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
4)
|
||||
|
||||
Reference in New Issue
Block a user