about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-17 13:48:33 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-17 13:48:33 +0000
commit06daaf90ebe8c0c7b62bedd4dfb5524e5ef168a2 (patch)
treefeea0a5fce10360cf98bbba2f479085d21f13952
parentfe38560f05c0c1ae1e201d64fbed99d9f64588c6 (diff)
downloadzsh-06daaf90ebe8c0c7b62bedd4dfb5524e5ef168a2.tar.gz
zsh-06daaf90ebe8c0c7b62bedd4dfb5524e5ef168a2.tar.xz
zsh-06daaf90ebe8c0c7b62bedd4dfb5524e5ef168a2.zip
zsh-workers/9104
-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