diff --git a/completions/mech-dump b/completions/mech-dump new file mode 100644 index 00000000000..110607fe8ec --- /dev/null +++ b/completions/mech-dump @@ -0,0 +1,11 @@ +_comp_cmd_mech_dump() +{ + local cur + cur=${COMP_WORDS[COMP_CWORD]} + + # shellcheck disable=SC2207,SC2016 + COMPREPLY=($(compgen -W '$(mech-dump --completions)' -- "$cur")) +} && + complete -F _comp_cmd_mech_dump mech-dump + +# ex: filetype=sh