[GRASSLIST:2274] Re: Making better use of ~/.grassrc5

Glynn Clements glynn.clements at virgin.net
Sat Aug 4 23:02:17 EDT 2001

Rich Shepard wrote:

> > Yes. $GISBASE/etc/Init.sh uses g.gisenv to insert the contents of
> > ~/.grassrc5 into the environment used by the shell.
>   I must have goofed: didn't work for me. I used the syntax:
>   Should I have used '=' rather than ':'?

It only seems to work if GRASS_GUI is "text". Try adding

	eval `g.gisenv`

at line 331 of $GISBASE/etc/Init.sh.

It seems to work OK, but should probably have some testing.

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-user mailing list