gnome terminal



Hello,

This what I have in my .bash_profile file:

USRLOCAL=/usr/local
USRLOCALINTEL=$USRLOCAL/intel/composer_xe_2011_sp1.9.293
ROOTSYS=$USRLOCAL/root_v528
MN2SYS=$USRLOCAL/Minuit2.5.28

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$USRLOCAL/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib/root
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/mylib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MN2SYS/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$USRLOCALINTEL/lib/intel64

export LD_LIBRARY_PATH
export ROOTSYS
export MN2SYS


After I run gnome-terminal without "run command as a login shell", I get:
echo $LD_LIBRARY_PATH
:/usr/local/lib:/home/pdupre/mylib:/usr/local/intel/composer_xe_2011_sp1.9.293/lib/intel64:/usr/local/root_v528/lib/root

(so /usr/local/Minuit2.5.28 is missing).


If I run gnome-terminal with "run command as a login shell", I get:

echo $LD_LIBRARY_PATH
:/usr/local/lib:/home/pdupre/mylib:/usr/local/intel/composer_xe_2011_sp1.9.293/lib/intel64:/usr/local/root_v528/lib/root:/usr/local/lib:/usr/local/root_v528/lib/root:/home/pdupre/mylib:/usr/local/Minuit2.5.28/lib:/usr/local/intel/composer_xe_2011_sp1.9.293/lib/intel64

Now /usr/local/Minuit2.5.28 is set in the variable, but the variable keeps a record of the previous value every
time that I run gnome-terminal!

It this normal?

Thank.


======================================================================
Patrick DUPRÉ | | email: pdupre@xxxxxxxxxx
======================================================================
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Relevant Pages

  • gnome terminal
    ... export ROOTSYS ... export MN2SYS ... After I run gnome-terminal without "run command as a login shell", ... echo $LD_LIBRARY_PATH ...
    (Fedora)
  • Re: Persisting env vars in cmd windows
    ... more about batch files as you go on, ... echo The time is %time::=.% ... But the piece de resistance was the "start" command, ... echo:: ERROR ERROR ERROR ERROR ...
    (microsoft.public.win2000.general)
  • Re: Persisting env vars in cmd windows
    ... But the piece de resistance was the "start" command, ... - Have all code for the one project in one single batch file. ... @echo off ... echo:: ERROR ERROR ERROR ERROR ...
    (microsoft.public.win2000.general)
  • Re: Persisting env vars in cmd windows
    ... even though it applies to any command, e.g. echo, copy, ... Similarly the syntax for the extremely powerful "for" command ... more about batch files as you go on, ... echo:: ERROR ERROR ERROR ERROR ...
    (microsoft.public.win2000.general)
  • Re: Persisting env vars in cmd windows
    ... even though it applies to any command, e.g. echo, copy, ... Similarly the syntax for the extremely powerful "for" command ... more about batch files as you go on, ... echo:: ERROR ERROR ERROR ERROR ...
    (microsoft.public.win2000.general)