From 259b64d0d75fc6c014609fc790f6ce671206f0b5 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 14 Dec 1999 10:14:51 +0000 Subject: zsh-workers/9035 --- Completion/Core/compdump | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Completion/Core/compdump') diff --git a/Completion/Core/compdump b/Completion/Core/compdump index 67b6e0865..97a181084 100644 --- a/Completion/Core/compdump +++ b/Completion/Core/compdump @@ -34,14 +34,14 @@ done >> $_d_file print ")" >> $_d_file print "\n_patcomps=(" >> $_d_file -for _d_f in "$_patcomps[@]"; do - print -r - "'${_d_f//\'/'\\''}'" +for _d_f in "${(ok@)_patcomps}"; do + print -r - "'${_d_f//\'/'\\''}'" "'${_patcomps[$_d_f]//\'/'\\''}'" done >> $_d_file print ")" >> $_d_file print "\n_postpatcomps=(" >> $_d_file -for _d_f in "$_postpatcomps[@]"; do - print -r - "'${_d_f//\'/'\\''}'" +for _d_f in "${(ok@)_postpatcomps}"; do + print -r - "'${_d_f//\'/'\\''}'" "'${_postpatcomps[$_d_f]//\'/'\\''}'" done >> $_d_file print ")" >> $_d_file -- cgit 1.4.1