1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00
zsh/Completion/Unix/Command/_tla

9 lines
213 B
Text

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