fix: bash completion for latest command (#1472)

Co-authored-by: James Hegedus <jthegedus@hey.com>
This commit is contained in:
Ben Stoutenburgh 2023-02-19 09:19:18 -05:00 committed by GitHub
parent 03b9479558
commit 2606a875eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ _asdf() {
;; ;;
plugin-list | plugin-list-all | info) ;; plugin-list | plugin-list-all | info) ;;
*) *)
local cmds='current global help install list list-all local plugin-add plugin-list plugin-list-all plugin-remove plugin-update reshim shell uninstall update where which info' local cmds='current global help install latest list list-all local plugin-add plugin-list plugin-list-all plugin-remove plugin-update reshim shell uninstall update where which info'
# shellcheck disable=SC2207 # shellcheck disable=SC2207
COMPREPLY=($(compgen -W "$cmds" -- "$cur")) COMPREPLY=($(compgen -W "$cmds" -- "$cur"))
;; ;;