about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Builtins/_zcompile17
2 files changed, 11 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index edfba2db2..6030303a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-05-03  Sven Wischnowsky  <wischnow@informatik.hu-berlin.de>
 
+	* Andrej: 11067: Completion/Builtins/_zcompile: handle -t option
+
 	* 11113: Doc/Zsh/expn.yo, Src/hist.c, Src/subst.c,
  	Src/Modules/parameter.c, Src/Zle/zle_misc.c: new (z) parameter
  	flag to do shell-word splitting on the value
diff --git a/Completion/Builtins/_zcompile b/Completion/Builtins/_zcompile
index c82226dc2..af2b2553e 100644
--- a/Completion/Builtins/_zcompile
+++ b/Completion/Builtins/_zcompile
@@ -4,14 +4,15 @@ local context state line expl
 typeset -A opt_args
 
 _arguments -s \
-    '(-c -m -a)-U[don'\''t expand aliases]' \
-    '(-M)-R[mark as read]' \
-    '(-R)-M[mark as mapped]' \
-    '(-c -z -m -a)-k[ksh-style autoloading]' \
-    '(-c -k -m -a)-z[zsh-style autoloading]' \
-    '(-U -z -k)-c[currently defined functions]' \
-    '(-U -z -k)-m[use names as patterns]' \
-    '(-U -z -k)-a[write autoload functions]' \
+    '(-t -c -m -a)-U[don'\''t expand aliases]' \
+    '(-t -M)-R[mark as read]' \
+    '(-t -R)-M[mark as mapped]' \
+    '(-t -c -z -m -a)-k[ksh-style autoloading]' \
+    '(-t -c -k -m -a)-z[zsh-style autoloading]' \
+    '(-t -U -z -k)-c[currently defined functions]' \
+    '(-t -U -z -k)-m[use names as patterns]' \
+    '(-t -U -z -k)-a[write autoload functions]' \
+    '(-M -R -U -z -k -a -c -m)-t[show table of contents]' \
     ':zwc file:_files' \
     '*:function:->function' && return 0