[GRASS-dev] Custom GRASS command line prompt
Martin Landa
landa.martin at gmail.com
Mon Dec 15 14:12:26 PST 2014
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
More information about the grass-dev
mailing list