From 85e20f745e6329893ba0467ae5490e1840d774c5 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 23 Dec 1999 23:01:33 +0000 Subject: zsh-3.1.6-pws-13 --- Completion/Base/_subscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Base/_subscript') diff --git a/Completion/Base/_subscript b/Completion/Base/_subscript index 01eada13a..fdda19301 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 indices parameters + _tags indexes parameters while _tags; do - if _requested -V indices expl 'array index'; then + if _requested -V indexes expl 'array index'; then ind=( {1..${#${(P)${compstate[parameter]}}}} ) - if zstyle -t ":completion${curcontext}:indices" verbose; then + if zstyle -t ":completion${curcontext}:indexes" verbose; then list=() for i in "$ind[@]"; do [[ "$i" = ${PREFIX}*${SUFFIX} ]] && -- cgit 1.4.1