Subject: Re: console in editing mode
To: None <current-users@netbsd.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: current-users
Date: 01/08/2005 00:07:06
On Fri, 7 Jan 2005 20:05:07 +0000 (UTC)
christos@tac.gw.com (Christos Zoulas) wrote:
> cat > ~/.profile
> export ENV=$HOME/.shinit
It may be better to do:
export ENV='$HOME/.shinit'
This way it gets reevaluated every time it's used, so when su'ing to root
you get root's environment.
However, this doesn't work with /bin/sh but does with /bin/ksh. Which
one is wrong? I think it's the former but...
--
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/