about summary refs log tree commit diff
path: root/Completion/Commands
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-08 08:16:32 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-08 08:16:32 +0000
commit92637abbb870dc35e1af9150741f7b11587a3350 (patch)
tree0720a090889ec58db87992e6a4e9712a1c939739 /Completion/Commands
parentc15091b7d196c8fcc15bf8f13f8c7ccf62479b85 (diff)
downloadzsh-92637abbb870dc35e1af9150741f7b11587a3350.tar.gz
zsh-92637abbb870dc35e1af9150741f7b11587a3350.tar.xz
zsh-92637abbb870dc35e1af9150741f7b11587a3350.zip
misc. completion cleanups and changes (11242)
Diffstat (limited to 'Completion/Commands')
-rw-r--r--Completion/Commands/_complete_help6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Commands/_complete_help b/Completion/Commands/_complete_help
index 6733111ff..b952480f8 100644
--- a/Completion/Commands/_complete_help
+++ b/Completion/Commands/_complete_help
@@ -9,9 +9,9 @@ _complete_help() {
 
   compadd() { return 1 }
   zstyle() {
-    local _f="${${(@)${(@)funcstack[2,(i)_(main_complete|complete|approximate|normal)]}:#_(wanted|requested|loop|try)}% *}"
+    local _f="${${(@)${(@)funcstack[2,(i)_(main_complete|complete|approximate|normal)]}:#_(wanted|requested|all_labels|next_label)}% *}"
 
-    [[ -z "$_f" ]] && _f="${${(@)funcstack[2,(i)_(main_complete|complete|approximate|normal)]}:#_(wanted|requested|loop|try)}"
+    [[ -z "$_f" ]] && _f="${${(@)funcstack[2,(i)_(main_complete|complete|approximate|normal)]}:#_(wanted|requested|all_labels|next_label)}"
 
     if [[ "$help_sfuncs[$2]" != *${_f}* ||
           "$help_styles[${2}${_f}]" != *${3}* ]]; then
@@ -77,7 +77,7 @@ styles in context ${i}"
 }
 
 _help_sort_tags() {
-  local f="${${(@)${(@)funcstack[3,(i)_(main_complete|complete|approximate|normal)]}:#_(wanted|requested|loop|try)}% *}"
+  local f="${${(@)${(@)funcstack[3,(i)_(main_complete|complete|approximate|normal)]}:#_(wanted|requested|all_labels|next_label)}% *}"
 
   if [[ "$help_funcs[$curcontext]" != *${f}* ||
         "$help_tags[${curcontext}${f}]" != *(${(j:|:)~argv})* ]]; then