Re: /etc/profile.d
> set -a
> . /etc/environment
> set +a
On Mon, Oct 25, 1999 at 10:25:07PM +0200, Massimo Dal Zotto wrote:
> This is not the standard debian's profile. So you had to change it by hand
> on every machine you installed.
At the moment, yes.
> And obviously it doesn't work with csh and probably other shells.
Unless you use something like:
eval `sed 's/^/setenv /; s/=/ /; s/$/;/' /etc/environment `
--
Raul
P.S. please read the doc on set -a before claiming that the
variables aren't exported into the environment.
Reply to: