Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2001 19:27:31 -0500
From:      Duraid <latif2221@home.com>
To:        Lowell Gilbert <lowell@world.std.com>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: [freebsd-questions] xterm in icewm
Message-ID:  <3AA82373.CF8FC41E@home.com>
References:  <3AA708B2.379AFA21@home.com> <44wva0qpzj.fsf@lowellg.ne.mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AA82373.CF8FC41E>