From owner-freebsd-questions Thu Mar 8 16:43:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from femail3.rdc1.on.home.com (femail3.rdc1.on.home.com [24.2.9.90]) by hub.freebsd.org (Postfix) with ESMTP id 06EFB37B719 for ; Thu, 8 Mar 2001 16:43:52 -0800 (PST) (envelope-from latif2221@home.com) Received: from home.com ([24.114.36.13]) by femail3.rdc1.on.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010309004320.HYJX6398.femail3.rdc1.on.home.com@home.com>; Thu, 8 Mar 2001 16:43:20 -0800 Message-ID: <3AA82373.CF8FC41E@home.com> Date: Thu, 08 Mar 2001 19:27:31 -0500 From: Duraid X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Lowell Gilbert , "freebsd-questions@FreeBSD.ORG" Subject: Re: [freebsd-questions] xterm in icewm References: <3AA708B2.379AFA21@home.com> <44wva0qpzj.fsf@lowellg.ne.mediaone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG what is the system wide file for .bashrc? /etc/bashrc didn't work. Duraid Lowell Gilbert wrote: > latif2221@home.com (Duraid) writes: > > > annoying glitch in icewm .. when executing xterm it doesnt' seem to run > > my /etc/profile and it starts with > > bash-2.04 prompt but when i do: source /etc/profile everything is > > normal. i just don't want to do source /etc/profile for every xterm i > > open.. ( my ENV is set proparly to ~/.shrc and i even tried it with > > ~/.profile). > > /etc/profile and ~/.profile are only executed for login shells, which > xterms aren't, unless you use the -ls option to start them. I put the > definition of my prompt in my .bashrc file for this reason. > > See the manuals for xterm(1) and bash(1) for more details [and maybe > check out my startup files at http://world.std.com/~lowell/systuff/], > but in short this is *not* a glitch -- it's absolutely the correct > behaviour. I only want *one* execution of my login scripts for each > session I start, regardless of how many xterms I might use. > > Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message