Perhaps by including the following in .bashrc ?
tkcvs() {
if [ -n "$DISPLAY" ]; then
set CVSROOT=whatever; tkcvs
fi
}
(Is that the correct syntax ?)
> How can i set an environment variable under an x11 session (not
> a specific xterm under x) so that they work for
Micha> How can i set an environment variable under an x11 session
Micha> (not a specific xterm under x) so that they work for
Micha> programs not opened through a terminal ( for example the
Micha> CVSROOT var for tkcvs)
> /etc/environment should do it.
How do you export varia
Micha Feigin on Thu 29 Jul:
> How can i set an environment variable under an x11 session
If you set environment variables in your .xsession file they should be
inherited by the session and thence by any program it executes.
If you want environment variables to persist only for a specific
program,
** "Micha" == Micha Feigin <[EMAIL PROTECTED]> wrote:
Micha> How can i set an environment variable under an x11 session (not
Micha> a specific xterm under x) so that they work for programs not
Micha> opened through a terminal ( for example the CVSROOT var for
Micha> tkcvs)
/etc/environment shoul
How can i set an environment variable under an x11 session (not a specific
xterm under x) so that they work for programs not opened through a
terminal ( for example the CVSROOT var for tkcvs)
Thanx
[EMAIL PROTECTED]
5 matches
Mail list logo