[YLUG] gnome-terminal/fedora 10
Patrick Dupre
pd520 at york.ac.uk
Sun Mar 15 21:25:50 UTC 2009
On Sun, 15 Mar 2009, Harry Mills wrote:
> On Sat, Mar 14, 2009 at 11:22 PM, Patrick Dupre <pd520 at york.ac.uk> wrote:
>
>> Hello,
>>
>> When I run gnome-terminal, it does run .bash_profile, but it looks like
>> that it should not.
>> xtern and terminal have the right behavior.
>>
>> Am I correct ?
>>
>> How can avoid to run .bash_profile when I run gnome-terminal ?
>>
>> Thank
>>
>> --
>> ---
>> ==========================================================================
>> Patrick DUPRÉ | |
>> Department of Chemistry | | Phone: (44)-(0)-1904-434384
>> The University of York | | Fax: (44)-(0)-1904-432516
>> Heslington | |
>> York YO10 5DD United Kingdom | | email: pd520 at york.ac.uk
>> ==========================================================================
>> _______________________________________________
>> York mailing list
>> York at lists.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/york
>>
>>
> .bash_profile runs when a bash login shell is executed. .bashrc is run for
> non-login bash shells. gnome-terminal should normally run .bashrc as it
> isn't executing a login shell. (
> http://joshstaiger.org/archives/2005/07/bash_profile_vs.html). Check the
> gnome-terminal preferences and look at the contents of .bashrc and
> .bash_profile to ensure that one is not sourcing the other.
>
>
No,
On my machines (fedora 10), .bash_profile is run either from bash or
from gnome-terminal (in fact .bash_profile then runs .bashrc)
On the other hand, terminal and xterm run .bashrc (and not .bash_profile)
Do you have a different bahavior ?
Thank.
--
---
==========================================================================
Patrick DUPRÃ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: pd520 at york.ac.uk
==========================================================================
More information about the York
mailing list