Nikos:

> > Now it appears like:  "G 7.0.svn (utm_37s/post):~ >".  My understanding is
> > that I probably need to edit the file:
> > grass7_trunk/dist.x86_64-unknown-linux-gnu/grass70.tmp

Hamish:

> I'd suggest to put the change in ~/.grass.bashrc instead.

Hamish,

don't want to waist your time, but I have put soemthing like

SHORT_VER=`echo "$GRASS_VERSION" | cut -f1,2 -d. | sed -e 's/\.//'`
GLOCATION=`echo "${LOCATION_NAME}"`
GMAPSET=`echo "${MAPSET}"`
export PS1='G$SHORT_VER ${GLOCATION}/${GMAPSET}:\w > '
export PROMPT_DIRTRIM=2

which doesn't work! :-/

Where should $LOCATION_NAME, $MAPSET be fed from?

Thanks, N
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to