summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-04-06 14:47:25 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-04-06 14:47:25 +0000
commitb4d021263dd1364985037f94b65aa0e4089618c4 (patch)
tree0a65a917b2dfa04d6b2aebcbb54ac4bc1e3ce454
parentb0be035127dcd29cabebe576b35cdeb5df3ad0e4 (diff)
downloadzsh-b4d021263dd1364985037f94b65aa0e4089618c4.tar.gz
zsh-b4d021263dd1364985037f94b65aa0e4089618c4.tar.xz
zsh-b4d021263dd1364985037f94b65aa0e4089618c4.zip
Improve prompt when compaudit finds badness.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/compinit3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index da6a6709a..008ec938f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-06  Bart Schaefer  <schaefer@zsh.org>
+
+	* 13919: Completion/compinit: Clarify the prompt presented when
+	 the completion system detects insecure files/directories.
+
 2001-04-06  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 13917: Src/params.c: test for unset in pipestatussetfn()
diff --git a/Completion/compinit b/Completion/compinit
index f846be42e..4f29ed4d6 100644
--- a/Completion/compinit
+++ b/Completion/compinit
@@ -387,7 +387,8 @@ if [[ -n "$_i_check" ]]; then
   if ! eval compaudit; then
     if [[ -n "$_i_q" ]]; then
       if [[ "$_i_fail" = ask ]]; then
-        if ! read -q "?There are insecure $_i_q, use them anyway [ny]? "; then
+        if ! read -q "?Ignore insecure $_i_q and continue [ny]? "; then
+	  echo "$0: initialization aborted"
           unfunction compinit compdef
           unset _comp_dumpfile _comp_secure compprefuncs comppostfuncs \
                 _comps _patcomps _postpatcomps _compautos _lastcomp