about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2013-06-10 00:18:52 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2013-06-10 00:18:52 -0700
commit8a35ec4eefaa6bea2871c1c41566870b343db8af (patch)
tree1c5ec071b959df99abb925d0e57e1880850a43b0
parent8812e0b82500c823b60f9e0fe53027f0928318dd (diff)
downloadzsh-8a35ec4eefaa6bea2871c1c41566870b343db8af.tar.gz
zsh-8a35ec4eefaa6bea2871c1c41566870b343db8af.tar.xz
zsh-8a35ec4eefaa6bea2871c1c41566870b343db8af.zip
31205: Do not display "(eval)" as a tag context
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Base/Widget/_complete_help2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0bf13d2a4..9f7987b34 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 	* 31466: .cvsignore, .gitignore: Cause git and cvs to ignore
 	one another.
 
+	* 31205: Completion/Base/Widget/_complete_help:  Do not display
+	"(eval)" as a tag context.
+
 2013-06-01  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 31441: Src/glob.c, Src/pattern.c, Src/zsh.h: use an array
diff --git a/Completion/Base/Widget/_complete_help b/Completion/Base/Widget/_complete_help
index 949a49625..0563c618f 100644
--- a/Completion/Base/Widget/_complete_help
+++ b/Completion/Base/Widget/_complete_help
@@ -73,7 +73,7 @@ _complete_help() {
 }
 
 _help_sort_tags() {
-  local f="${${(@)${(@)funcstack[3,(i)_(main_complete|complete|approximate|normal)]}:#_(dispatch|wanted|requested|all_labels|next_label)}% *}"
+  local f="${${(@)${(@)funcstack[3,(i)_(main_complete|complete|approximate|normal)]}:#(_(dispatch|wanted|requested|all_labels|next_label)|\(eval\))}% *}"
 
   if [[ "$help_funcs[$curcontext]" != *${f}* ||
         "$help_tags[${curcontext}${f}]" != *(${(j:|:)~argv})* ]]; then