On Sun, 16 Jun 2019 14:23:24 -0400, "Ted Unangst" wrote:

> Yes, I think it's better to always reset these things. Here's a diff.
>
> 1. Always set HOME, PATH, SHELL etc to the target.
>
> 2. Without keepenv, other environment variables are discarded.
>
> 3. With keepenv, other variables are retained, but the above are still reset.
>
> 4. Possible to override this with setenv.
>
> This is much more consistent and predictable.

That does seem better.  The user can always preserve some or all
of those variables via setenv.  OK millert@

 - todd

Reply via email to