[GRASS-user] grass prompt default working directory

Moritz Lennert mlennert at club.worldonline.be
Tue Feb 26 05:59:56 PST 2013


On 26/02/13 14:26, Vincent Bain wrote:
> More about my previous post, as a kind of self-answer:
>
> I understand grass64 launched from a terminal shell is a child process
> which inherits from the shell's working directory.
>
> Sometimes paths are quite annoying to type (even with the help of
> autocompletion, I'm lazy!).
>
> For the time being I wrote a little script, located in my home directory
> (~/g.cd). It evals GISDBASE, LOCATION_NAME, GISMAPSET with g.gisenv,
> then changes directory to the current mapset.

I would not recommend using the GISDBASE as your working directoy. My 
general advice: let GRASS handle everything in there and create your own 
files elsewhere.

Moritz





More information about the grass-user mailing list