Merge pull request #1272 from zsh-users/update_elixir_tools

Update mix completion to version 1.20.0
This commit is contained in:
Shohei YOSHIDA 2026-06-05 09:07:22 +09:00 committed by GitHub
commit dd83145816
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,7 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for Elixir Mix 1.19.5 with Erlang/OTP 28 (https://github.com/elixir-lang/elixir) # Completion script for Elixir Mix 1.20.0 with Erlang/OTP 28 (https://github.com/elixir-lang/elixir)
# #
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Authors # Authors
@ -84,6 +84,7 @@ _mix() {
_arguments \ _arguments \
'*--exclude[exclude applications which you do not want to see printed]:app' \ '*--exclude[exclude applications which you do not want to see printed]:app' \
'--format[format type]:type:(pretty plain dot)' \ '--format[format type]:type:(pretty plain dot)' \
'--output[override the location of the file created by the "dot" format]:file:_files' \
&& ret=0 && ret=0
;; ;;
(archive.build) (archive.build)
@ -216,6 +217,7 @@ _mix() {
'*--exclude[exclude dependencies which you do not want to see printed]:dep:_mix_dependencies' \ '*--exclude[exclude dependencies which you do not want to see printed]:dep:_mix_dependencies' \
'--umbrella-only[only include the umbrella applications]' \ '--umbrella-only[only include the umbrella applications]' \
'--format[print format]:format:(pretty plain dot)' \ '--format[print format]:format:(pretty plain dot)' \
'--output[override the location of the file created by the "dot" format]:file:_files' \
&& ret=0 && ret=0
;; ;;
(deps.unlock) (deps.unlock)
@ -278,6 +280,7 @@ _mix() {
'--dot-formatter[path to the file with formatter configuration]:file:_files' \ '--dot-formatter[path to the file with formatter configuration]:file:_files' \
'--stdin-filename[path to the file being formatted on stdin]:name' \ '--stdin-filename[path to the file being formatted on stdin]:name' \
'--migrate[enable the :migrate option]' \ '--migrate[enable the :migrate option]' \
'--no-compile[do not compile before formatting]' \
'*::path:_files' \ '*::path:_files' \
&& ret=0 && ret=0
;; ;;
@ -341,6 +344,7 @@ _mix() {
'(--color --no-color)--color[enable color in ExUnit formatting results]' \ '(--color --no-color)--color[enable color in ExUnit formatting results]' \
'(--color --no-color)--no-color[disable color]' \ '(--color --no-color)--no-color[disable color]' \
'--cover[run coverage tool]' \ '--cover[run coverage tool]' \
'--dry-run[print which tests would be run based on current options, but not run any tests]' \
'*--exclude[exclude tests that match the filter]:filter' \ '*--exclude[exclude tests that match the filter]:filter' \
'--exit-status[use an alternate exit status to use when tests fail(default: 2)]:num' \ '--exit-status[use an alternate exit status to use when tests fail(default: 2)]:num' \
'--export-coverage[the name of the file to export coverage results to]:file:_files' \ '--export-coverage[the name of the file to export coverage results to]:file:_files' \