Skip to content

Commit 6b47af3

Browse files
committed
Remove completion from completion script :-)
1 parent 1acab1e commit 6b47af3

File tree

2 files changed

+1
-7
lines changed
  • contrib/completion

2 files changed

+1
-7
lines changed

contrib/completion/bash/sdk

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ __sdkman_complete_command() {
2222

2323
case $command in
2424
sdk)
25-
candidates=("install" "uninstall" "list" "use" "completion" "config" "default" "home" "env" "current" "upgrade" "version" "broadcast" "help" "offline" "selfupdate" "update" "flush")
25+
candidates=("install" "uninstall" "list" "use" "config" "default" "home" "env" "current" "upgrade" "version" "broadcast" "help" "offline" "selfupdate" "update" "flush")
2626
;;
2727
current|default|home|uninstall|upgrade|use)
2828
local -r candidate_paths=("${SDKMAN_CANDIDATES_DIR}"/*)
@@ -36,9 +36,6 @@ __sdkman_complete_command() {
3636
candidates+=($candidate)
3737
done < <(curl --silent "${SDKMAN_CANDIDATES_API}/candidates/all")
3838
;;
39-
completion)
40-
candidates=("bash" "zsh")
41-
;;
4239
env)
4340
candidates=("init install clear")
4441
;;

contrib/completion/zsh/sdk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ _sdk() {
2828
flush)
2929
compadd archives broadcast tmp version
3030
;;
31-
completion)
32-
compadd bash zsh
33-
;;
3431
esac
3532
;;
3633
4)

0 commit comments

Comments
 (0)