Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: PATCH: Re: adding a toplevel zsh.spec.in file
- X-seq: zsh-workers 12294
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Zefram" <zefram@xxxxxxxx>, "Adam Spiers" <adam@xxxxxxxxxx>
- Subject: RE: PATCH: Re: adding a toplevel zsh.spec.in file
- Date: Tue, 18 Jul 2000 10:25:09 +0400
- Cc: "zsh workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Importance: Normal
- In-reply-to: <E13EMc8-0005yL-00@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> So here's my recomendation for zsh RPM builders: ship no /etc/zshrc,
> /etc/zshenv, /etc/zlogin or /etc/zlogout, and have /etc/zprofile
> be a symbolic link -> profile. (This still leaves a broken Red Hat
> /etc/profile, but that's outside the scope of a zsh package.)
Slightly off-topic. It is not generally possible to link zprofile to
profile because
- wordsplitting :-) (yes, it may happen)
- some /etc/profile(s) (ours at least) check the the value of $0 for
being somehing like -sh and do not expect -zsh here.
I use /etc/zprofile that defines function that sets shwordsplit, fakes
$0 being -sh (hmm, may there be some security problems in case of su?)
and sources /etc/profile. May be, it is an overkill. And, may be on
Linux everything is different :-) (I was speaking about my system)
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author