Le 21 mai 2004, � 21:23, Roland Kuhn a �crit :
So, I rephrase, if you put it in .bashrc and then source .bashrc in .profile, it is set in all shells. As the user was said to put it in .profile, adding it in .bashrc, makes the same thing.Second, DISPLAY should be set in order to be able to launch X11 applications. Bash does not read the same file depending on the way the shell is launched (interactive or not, login or not), putting the DISPLAY setting in .bashrc ensures that it is set in all shells. See bash man page, section INVOCATION.That's not true: .bashrc is _only_ read by non-login shells. bash reads either .bash_profile/.bash_login/.profile or .bashrc. That has led to great confusion amongst some users, but it allows to keep settings for login shells and subshells strictly separate. Note that this applies only to interactive shells (which means every shell which displays a prompt).
Mich�le <http://micmacfr.homeunix.org>
PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
