summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_tla
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-03-12 16:32:08 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-03-12 16:32:08 +0000
commit443f97422a806522a77fde5dec28177c4ad4c56e (patch)
tree39e2a31452ef0896757e736839f1f05fae47647b /Completion/Unix/Command/_tla
parent867f40c7791f526d1fa975a4f86ebca926983b26 (diff)
downloadzsh-443f97422a806522a77fde5dec28177c4ad4c56e.tar.gz
zsh-443f97422a806522a77fde5dec28177c4ad4c56e.zip
fix indentation, missing local and add to .distfiles
Diffstat (limited to 'Completion/Unix/Command/_tla')
-rw-r--r--Completion/Unix/Command/_tla6
1 files changed, 4 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_tla b/Completion/Unix/Command/_tla
index 22ce67133..4ae56a1d6 100644
--- a/Completion/Unix/Command/_tla
+++ b/Completion/Unix/Command/_tla
@@ -1,9 +1,11 @@
#compdef tla
+local -a subcmds
+
subcmds=(${${${(M)${(f)"$(_call_program tla tla help)"}:#[ ]* : *}% : *}##[ ]##} )
if (( CURRENT == 2 )); then
- _describe -t commands 'tla command' compadd - "$subcmds[@]"
+ _describe -t commands 'tla command' compadd - "$subcmds[@]"
else
- _files
+ _files
fi