From 0390d69f27554935e0f84b33982ae3739e75fa76 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 28 Mar 2008 15:00:46 +0000 Subject: 24776: clarify compinit message when compaudit fails --- ChangeLog | 3 +++ Completion/compinit | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3eac24b12..15e0fb30a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-03-28 Peter Stephenson + * 24776: Completion/compinit: clarify the message printed + when compaudit finds problems. + * 24775: Completion/Zsh/Command/_cd, Doc/Zsh/compsys.yo: improve option handling. diff --git a/Completion/compinit b/Completion/compinit index 2942f435d..a4edd2449 100644 --- a/Completion/compinit +++ b/Completion/compinit @@ -417,8 +417,9 @@ if [[ -n "$_i_check" ]]; then if ! eval compaudit; then if [[ -n "$_i_q" ]]; then if [[ "$_i_fail" = ask ]]; then - if ! read -q "?Ignore insecure $_i_q and continue [ny]? "; then - print -u2 "run compaudit to see list of insecure $_i_q" + if ! read -q \ +"?zsh compinit: insecure $_i_q, run compaudit for list. +Ignore insecure $_i_q and continue [y] or abort compinit [n]? "; then print -u2 "$0: initialization aborted" unfunction compinit compdef unset _comp_dumpfile _comp_secure compprefuncs comppostfuncs \ -- cgit 1.4.1