[GRASS-dev] Custom GRASS command line prompt

Huidae Cho grass4u at gmail.com
Mon Dec 15 14:14:21 PST 2014


That's cool. I'll try it tonight. Thanks.

-- 
Sent from my phone
On Dec 15, 2014 5:12 PM, "Martin Landa" <landa.martin at gmail.com> wrote:

> Hi,
>
> 2014-12-15 22:34 GMT+01:00 Huidae Cho <grass4u at gmail.com>:
> > Mine looks like this (bash shell):
> >
> > grass_ps(){
> >         echo "G `g.gisenv LOCATION_NAME`/`g.gisenv MAPSET`"
>
> btw, in trunk you can avoid calling `g.gisenv` twice
>
> g.gisenv get=LOCATION_NAME,MAPSET sep='/'
>
> Martin
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.eu/mentors/landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141215/052cb6da/attachment.html>


More information about the grass-dev mailing list