[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eliminate environment variable hints?

From: Ricardo Wurmus
Subject: Re: Eliminate environment variable hints?
Date: Tue, 19 Feb 2019 10:34:05 +0100
User-agent: mu4e 1.0; emacs 26.1

Pjotr Prins <address@hidden> writes:

> Just running '. $PROFILE/etc/profile' is a bit dangerous. Especially on
> HPC machines.
> I guix-notes I also suggest to clear the other environment settings
> first with
>   env -i /bin/bash --login --noprofile --norc

You can do this all in one go by passing etc/profile as the init file
for bash in this invocation of env.  No need to separately source
etc/profile then!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]