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

Re: setting variables under an X11 session



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 programs not
> opened through a terminal ( for example the CVSROOT var for
> tkcvs)
> 






Reply to: