From b4d021263dd1364985037f94b65aa0e4089618c4 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Fri, 6 Apr 2001 14:47:25 +0000 Subject: Improve prompt when compaudit finds badness. --- ChangeLog | 5 +++++ Completion/compinit | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index da6a6709a..008ec938f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-04-06 Bart Schaefer + + * 13919: Completion/compinit: Clarify the prompt presented when + the completion system detects insecure files/directories. + 2001-04-06 Sven Wischnowsky * 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 -- cgit 1.4.1