summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_tla9
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 35cfc6f57..2c5f0acf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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