Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'insecure directories' warning
- X-seq: zsh-workers 12375
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: 'insecure directories' warning
- Date: Wed, 26 Jul 2000 09:14:06 +0200 (MET DST)
- In-reply-to: Adam Spiers's message of Tue, 25 Jul 2000 20:27:18 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Adam Spiers wrote:
> ...
>
> > } Also, it would be nice if the user gets told which directories are
> > } insecure, otherwise he doesn't stand much of a chance of fixing them.
> >
> > Hrm. Maybe a separate function to check for and report this? I don't
> > know if we want the compinit output to get any more verbose than it is.
> > On the other hand, it's only a one-line change, so maybe some of you can
> > try this out and see what you think (the output is a couple of screenfuls
> > long for me because of RedHat's special groups trick):
>
> I'd say it's better than nothing, but yes, it is a bit too verbose if
> the problem affects too many functions. A separate function would be
> good; then it could output stuff like:
>
> /usr/local/share/zsh/3.1.9-dev-3/functions/X contains functions not
> owned by you or by root; the first such function is _x_arguments.
> Continue anyway [ny]?
A separate function would be easy to add, of course. Alternatively we
could give compinit a `verbose' option. Or a `test' option that
doesn't try to load the completion system but performs the checks. Or
both.
> I'd also suggest replacing 'continue' with something which makes it
> more obvious what the two choices are. At the moment if you're
> invoking compinit from .zshrc, it sounds a bit like you want to exit
> the shell if you hit 'n'.
You can just go ahead and improve that...
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author