- To: SLUG List <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] vipw
- From: Steve Kowalik <steven@xxxxxxxxxxxxxxx>
- Date: Sun, 8 Jun 2003 21:58:27 +1000
- User-agent: Mutt/1.5.4i
At 5:11 pm, Sunday, June 8 2003, Robert Tillsley <robert@xxxxxxxxxxxxx> mumbled:
> I've got it running, though I needed to remove the $. Do you know if its a
> permanent change, or do I need to do this every time I log in?
>
Right, I said this, I should explain:
> > broken:~# export VISUAL="$(which ed)"
steven@broken:~$ which ed
/bin/ed
$() is a subshell, so that sets VISUAL to /bin/ed.
Now, to answer your question, it's not a permanent change. You need to do
something like this:
steven@broken:~$ grep export .bash_profile | head -1
export MAILNAME="Steve Kowalik"
Cheers,
--
Steve
A.D. 1517: Martin Luther nails his 95 Theses to the church door and is
promptly moderated down to (-1, Flamebait).
-- Michael Banck