Mailinglist Archive: opensuse (4219 mails)

< Previous Next >
Re: [opensuse] (bug??) Another (small) problem with 10.2rc1
  • From: Patrick Shanahan <ptilopteri@xxxxxxxxx>
  • Date: Fri, 1 Dec 2006 19:22:41 -0500
  • Message-id: <20061202002241.GB28613@xxxxxxxxxxxxxxx>
* Simon Roberts <thorpflyer@xxxxxxxxx> [12-01-06 18:15]:
> Well, this helps, but .bash_profile is executed _twice_ on login!
> What's that about??
> So, the upshot is, I'm still a little below par as far as extending
> my path and so forth goes.
> I can do it the "hard way" (test and set a new environment variable
> and if the variable wasn't previously set, then extend my path,
> otherwise not) but one might hope the "easy way" (a working
> invocation to .profile or .bash_profile that is called exactly once
> during login) would be available still.
> Can these behaviors be considered a bug? Or should I quit my whinging
> and mess with an environment variable?

would be time to read 'man bash' paying particular attention to the
startup scripts. Search for .bash_profile and .profile and
.bash_login. Which files are accessed and in what order are presented.

Patrick Shanahan Registered Linux User #207535 @
HOG # US1244711 Photo Album:
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >