diff options
Diffstat (limited to 'Completion/Base/_subscript')
-rw-r--r-- | Completion/Base/_subscript | 6 |
1 files changed, 3 insertions, 3 deletions
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} ]] && |