[GRASS-user] execute commands automatically after start of grass

Jachym Cepicky jachym.cepicky at gmail.com
Fri Aug 1 05:16:55 EDT 2008


hi,

you can adjust anything in .grass.bashrc file

e.g.

#!/bin/sh
export GRASS_ADDON_PATH=$HOME/usr/grass/
export GRASS_PAGER=/bin/more


jachym

[1] http://grass.osgeo.org/grass64/manuals/html64_user/variables.html

2008/8/1 Rainer M Krug <r.m.krug at gmail.com>:
> Hi
>
> I am using grass in combination with R, wherefore I have to start R
> (or emacs) after starting grass.
> Is there any way, to make this automatic, i.e., can I specify a script
> which is executed inside grass after it is started?
> In addition, I only would like that to happen when I start grass in a
> certain mapset and not in other mapsets.
>
>
> Thanks
>
> Rainer
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Plant Conservation Unit
> Department of Botany
> University of Cape Town
> Rondebosch 7701
> South Africa
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>



-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub


More information about the grass-user mailing list