1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-09 12:21:14 +02:00
zsh/Completion/Unix/Command/_tla

11 lines
225 B
Text

#compdef tla
local -a subcmds
subcmds=(${${${(M)${(f)"$(_call_program tla tla help)"}:#[ ]* : *}% : *}##[ ]##} )
if (( CURRENT == 2 )); then
_describe -t commands 'tla command' compadd - "$subcmds[@]"
else
_files
fi