From owner-freebsd-questions Tue Feb 22 13:18:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay4.hawaii.edu (relay4.hawaii.edu [128.171.94.12]) by hub.freebsd.org (Postfix) with SMTP id 12B8837B705 for ; Tue, 22 Feb 2000 13:18:45 -0800 (PST) (envelope-from rohrer@hawaii.edu) Received: from uhunix2.its.hawaii.edu ([128.171.44.7]) by relay4.Hawaii.Edu with SMTP id <130002(7)>; Tue, 22 Feb 2000 11:18:30 -1000 Received: from localhost by uhunix2.its.Hawaii.Edu with SMTP id <183013(7)>; Tue, 22 Feb 2000 11:09:48 -1000 From: Matt Rohrer To: David Banning Cc: FreeBSD Subject: Re: bash doesn't recognize .profile when in X In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue, 22 Feb 2000 11:15:08 -1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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