mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 22:51:42 +02:00
* 19600: Completion/Unix/Command/_tla: rudimentary completion for tla.
This commit is contained in:
parent
479134a135
commit
eef98da697
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-03-11 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 19600: Completion/Unix/Command/_tla: rudimentary completion
|
||||
for tla.
|
||||
|
||||
2004-03-11 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 19596: Src/module.c: include dlfcn.h instead of dl.h on HP/UX 11
|
||||
|
|
9
Completion/Unix/Command/_tla
Normal file
9
Completion/Unix/Command/_tla
Normal file
|
@ -0,0 +1,9 @@
|
|||
#compdef tla
|
||||
|
||||
subcmds=(${${${(M)${(f)"$(_call_program tla tla help)"}:#[ ]* : *}% : *}##[ ]##} )
|
||||
|
||||
if (( CURRENT == 2 )); then
|
||||
_describe -t commands 'tla command' compadd - "$subcmds[@]"
|
||||
else
|
||||
_files
|
||||
fi
|
Loading…
Reference in a new issue