diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Base/_subscript | 6 | ||||
-rw-r--r-- | Completion/Commands/.distfiles | 1 |
2 files changed, 3 insertions, 4 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} ]] && diff --git a/Completion/Commands/.distfiles b/Completion/Commands/.distfiles index 21329f1c0..804e65be3 100644 --- a/Completion/Commands/.distfiles +++ b/Completion/Commands/.distfiles @@ -2,5 +2,4 @@ DISTFILES_SRC=' .distfiles _bash_completions _correct_filename _correct_word _expand_word _history_complete_word _read_comp _most_recent_file _complete_help - _verbose_list ' |