Skip site navigation (1)Skip section navigation (2)
From:      Matt Rohrer <rohrer@hawaii.edu>
To:        David Banning <tracker@worldy.com>
Cc:        FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: bash doesn't recognize .profile when in X
Message-ID:  <Pine.GSO.4.10.10002221107510.9027-100000@uhunix2>
In-Reply-To: <Pine.BSF.4.05.10002221533250.16245-100000@mweb.worldy.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 22 Feb 2000, David Banning wrote:

> I have this command in my .profile which allows me to do a "ls -lt" with
> just an "l";
> 
> l() { /bin/ls -lt $*; }			# less typing
> 
> that works find when not in X - but when I fire up my window manager
> (kde)
> it will not recognize the command.
> 
> Any ideas ?

If I remember correctly, bash only reads your .profile when you login.
If you start another terminal, bash looks for your .bashrc. I have all
of my aliases in my .bashrc, and my .profile has a "source .bashrc"
line. See man bash for more details.

> 
> thanx
> 
> Dave Banning
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-Matt




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10002221107510.9027-100000>