mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
10 lines
213 B
Plaintext
10 lines
213 B
Plaintext
#compdef tla
|
|
|
|
subcmds=(${${${(M)${(f)"$(_call_program tla tla help)"}:#[ ]* : *}% : *}##[ ]##} )
|
|
|
|
if (( CURRENT == 2 )); then
|
|
_describe -t commands 'tla command' compadd - "$subcmds[@]"
|
|
else
|
|
_files
|
|
fi
|