Huidae Cho wrote:
Mine looks like this (bash shell):
grass_ps(){
echo "G `g.gisenv LOCATION_NAME`/`g.gisenv MAPSET`"
}
export PS1="\[\033]0;\$(grass_ps) \w\007\]\$(grass_ps) \w> "
The prompt gets updated dynamically since grass_ps() is called every timeyou hit enter.
Oh, this makes life easier :-) _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
