diff options
author | Clint Adams <clint@users.sourceforge.net> | 2004-03-11 15:42:58 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2004-03-11 15:42:58 +0000 |
commit | eef98da6971e84377155270f218e9abb7a719bc9 (patch) | |
tree | 376351ecc39fecc818b182c11f3c4603894e23db /Completion/Unix | |
parent | 479134a13590bd72cfac7c5bcd13e443ceef1a20 (diff) | |
download | zsh-eef98da6971e84377155270f218e9abb7a719bc9.tar.gz zsh-eef98da6971e84377155270f218e9abb7a719bc9.tar.xz zsh-eef98da6971e84377155270f218e9abb7a719bc9.zip |
* 19600: Completion/Unix/Command/_tla: rudimentary completion for tla.
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_tla | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_tla b/Completion/Unix/Command/_tla new file mode 100644 index 000000000..22ce67133 --- /dev/null +++ b/Completion/Unix/Command/_tla @@ -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 |