~/.profile and tcsh (was: Changing Default Editor in profile)

Karol Kwiatkowski freebsd at orchid.homeunix.org
Fri Sep 8 08:20:11 PDT 2006


>> > under my home directory for root under .profile I added the line:
>> >
>> > EDITOR=pico;    export EDITOR

>> You have to use "su -", if you want load your root's environnement.
>> su(1) for more explications.

> Thank you sirs!!!  That did the trick!

Hmmm, interesting. I was under the impression that ~/.profile file is
used by sh and not by tcsh. Indeed, I can't find it being mentioned in
tcsh(1) manpage. Am I missing something? Pointers to TFM welcomed, of
course :)

Karol

-- 
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060908/ea4e35c7/signature.pgp


More information about the freebsd-questions mailing list