[GRASS-SVN] r49165 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 10 03:33:22 EST 2011


Author: martinl
Date: 2011-11-10 00:33:22 -0800 (Thu, 10 Nov 2011)
New Revision: 49165

Modified:
   grass/trunk/lib/init/grass.py
Log:
grass.py: recover original PS1 (remove mapset)


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2011-11-10 00:04:52 UTC (rev 49164)
+++ grass/trunk/lib/init/grass.py	2011-11-10 08:33:22 UTC (rev 49165)
@@ -809,7 +809,7 @@
     
     f = open(bashrc, 'w')
     f.write("test -r ~/.alias && . ~/.alias\n")
-    f.write("PS1='GRASS %s (%s@%s):\w > '\n" % (grass_version, location_name, mapset))
+    f.write("PS1='GRASS %s (%s):\w > '\n" % (grass_version, location_name))
     f.write("PROMPT_COMMAND=\"'%s'\"\n" % os.path.join(gisbase, 'etc', 'prompt.py'))
     
     path = os.path.join(userhome, ".grass.bashrc")



More information about the grass-commit mailing list