Update fix command autocomplete to work for JSON template files only (#12366)

This commit is contained in:
Wilken Rivera 2023-04-14 13:00:24 -04:00 committed by GitHub
parent 43b9bef6fd
commit 26af7901fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ _packer () {
)
local -a fix_arguments && fix_arguments=(
'(-)*:files:_files -g "*pkr.{hcl,json}"'
'(-)*:files:_files -g "*.json"'
)
local -a fmt_arguments && fmt_arguments=(