about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Base/_subscript6
-rw-r--r--Doc/Zsh/compsys.yo4
2 files changed, 5 insertions, 5 deletions
diff --git a/Completion/Base/_subscript b/Completion/Base/_subscript
index fdda19301..01eada13a 100644
--- a/Completion/Base/_subscript
+++ b/Completion/Base/_subscript
@@ -16,12 +16,12 @@ elif [[ ${(Pt)${compstate[parameter]}} = assoc* ]]; then
 elif [[ ${(Pt)${compstate[parameter]}} = array* ]]; then
   local list i j ret=1 disp
 
-  _tags indexes parameters
+  _tags indices parameters
 
   while _tags; do
-    if _requested -V indexes expl 'array index'; then
+    if _requested -V indices expl 'array index'; then
       ind=( {1..${#${(P)${compstate[parameter]}}}} )
-      if zstyle -t ":completion${curcontext}:indexes" verbose; then
+      if zstyle -t ":completion${curcontext}:indices" verbose; then
         list=()
         for i in "$ind[@]"; do
           [[ "$i" = ${PREFIX}*${SUFFIX} ]] &&
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index a477daa21..42c2bf000 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -483,8 +483,8 @@ for words from the history
 item(tt(hosts))(
 for hostnames
 )
-item(tt(indexes))(
-used for array indexes
+item(tt(indices))(
+used for array indices
 )
 item(tt(jobs))(
 used for jobs