Re: Setting enviroment variables



If you wanna make the variables to be used by all of your system ( users
and daemons ) you can place them in /etc/profile, too.

HTH





Mariano Suarez-Alvarez <msuarezalvarez arnet com ar>@gnome.org con fecha
23/10/2003 14:10:53

Enviado por:      gnome-list-admin gnome org


Destinatarios:     Kai Weber <lists glorybox de>
CC:       gnome-list gnome org

Asunto:     Re: Setting enviroment variables

On Thu, 2003-10-23 at 13:11, Kai Weber wrote:
> Hi,
>
> Where is the place to set the PATH, so if I would like to run a program
in
> my $HOME/bin from the run dialog (Alt+F2) I do not have to give the
> whole path.
>
> (The true reason for this question is: I do not want gnome-terminal be a
> login shell. Thus it reads not every time .bash_profile where normally
> the PATH and other global varialbes for a login session are set. So
> everytime I have to type: ~/bin/foo to run a program because it is not
> in the PATH).

Bash reads ~/.bash_profile for login sessions and ~/.bashrc for
non-login sessions.

-- m


--
-----------------------------------------------------------------------
Mariano Suárez-Alvarez
Departamento de Matematica - FCEyN - Universidad de Buenos Aires
Ciudad Universitaria, Pab. I. (1428) Ciudad de Buenos Aires, Argentina
http://mate.dm.uba.ar/~aldoc9

    De la observación de la irreductibilidad de las creencias últimas
    he sacado la mayor lección de mi vida. Aprendí a respetar las ideas
    ajenas, a detenerme ante el secreto de las conciencias, a entender
    antes de discutir, a discutir antes de condenar. Y como estoy en
    vena de confesiones, hago una más, quizás superflua: detesto con
    toda mi alma a los fanáticos.

    Norberto Bobbio, Italia civil.
_______________________________________________
gnome-list mailing list
gnome-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-list








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]