From 06daaf90ebe8c0c7b62bedd4dfb5524e5ef168a2 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Fri, 17 Dec 1999 13:48:33 +0000 Subject: zsh-workers/9104 --- Completion/Base/_subscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion') 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} ]] && -- cgit 1.4.1