From owner-freebsd-questions Tue Feb 22 14:20:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.nwlink.com (smtp.nwlink.com [209.20.130.57]) by hub.freebsd.org (Postfix) with ESMTP id 4343B37B795 for ; Tue, 22 Feb 2000 14:19:52 -0800 (PST) (envelope-from rjoseph@nwlink.com) Received: from ip171.r3.d.bel.nwlink.com (ip171.r3.d.bel.nwlink.com [207.202.172.171]) by smtp.nwlink.com (8.9.3/8.9.3) with ESMTP id OAA00873; Tue, 22 Feb 2000 14:19:40 -0800 (PST) Date: Tue, 22 Feb 2000 14:14:39 -0800 (PST) From: R Joseph Wright X-Sender: rjoseph@mammalia.sea 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 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 ? Yes, you need a .bashrc file to configure bash for non-login shells. What I did was create a hard link from .profile to .bashrc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message