From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28643 invoked from network); 6 Apr 2001 14:25:29 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Apr 2001 14:25:29 -0000 Received: (qmail 3713 invoked by alias); 6 Apr 2001 14:25:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13919 Received: (qmail 3699 invoked from network); 6 Apr 2001 14:25:24 -0000 From: "Bart Schaefer" Message-Id: <1010406142428.ZM12049@candle.brasslantern.com> Date: Fri, 6 Apr 2001 14:24:28 +0000 In-Reply-To: <200104060829.KAA11875@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: compinit quirk" (Apr 6, 10:29am) References: <200104060829.KAA11875@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: compinit quirk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 6, 10:29am, Sven Wischnowsky wrote: } } Quoting the docs: } } For security reasons tt(compinit) also checks if the completion system } would use files not owned by root or by the current user, or files in } directories that are world- or group-writable or that are not owned by } root or by the current user. If such files or directories are found, } tt(compinit) will ask if the completion system should really be used. Aha! So it's the question that's misleading. When I'm asked: There are insecure directories, use them anyway [ny]? "Use *them* anyway" means, to me, "include the insecure directories among those searched by the completion system for functions." What the question is actually asking is: Ignore insecure directories and continue [ny]? So let's actually say that. Index: Completion/compinit =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/compinit,v retrieving revision 1.2 diff -u -r1.2 compinit --- Completion/compinit 2001/04/02 13:04:04 1.2 +++ Completion/compinit 2001/04/06 14:21:38 @@ -387,7 +387,8 @@ 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 -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net