Shell Completion Debug
Отладка shell-completion
В ZSH есть хоткей для трассировки автодополнения аргументов - который я всегда забываю. Выдержка из документации:
_complete_debug (^X?)
This widget performs ordinary completion, but captures in a temporary file a trace of the shell commands executed by the completion system. Each completion attempt gets its own file. A command to view each of these files is pushed onto the editor buffer stack.
Шорткат запускает автодополнение для текущей команды и сохраняет его трассировку в файл. Очень полезно для исследования ошибок в скриптах автодополнения.