mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-01 18:30:55 +01:00
9 lines
213 B
Text
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
|