xterm wont read my .bash_profile

Rob 'Feztaa' Park feztaa at shaw.ca
Tue Aug 27 22:11:27 PDT 2002


Alas! Archaic spake thus:
> On Wed, Aug 28, 2002 at 08:29:47PM +0000, Steven Stimpson wrote:
> > hello and thank you for reading this.
> > whenever i start an xterm or one of the fancy xterms that come with gnome or 
> > kde they wont read in my .bash_profile. so no fancy prompt or path.
> 
> It's not supposed to. It reads .bashrc. Create one and put: source
> ~/.bash_profile (or whatever profile file you use).

Yuck, just use a symlink. Less maintenance.

> if [ "`id -u`" == 0 ]; then
>         PATH=/bin:/usr/bin:/sbin:/usr/sbin
> fi

Clever, I never thought of that. Might be a way to force settings on
users who aren't cooperating, since they can't edit the global config ;)

-- 
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
You can do more with a kind word and a gun than with just a kind word.
- Al Capone
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list