[GRASS-SVN] r41722 - grass/trunk/lib/init
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Apr 4 15:26:27 EDT 2010
Author: martinl
Date: 2010-04-04 15:26:27 -0400 (Sun, 04 Apr 2010)
New Revision: 41722
Modified:
grass/trunk/lib/init/grass.py
Log:
there is no prompt.sh
Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py 2010-04-04 19:13:20 UTC (rev 41721)
+++ grass/trunk/lib/init/grass.py 2010-04-04 19:26:27 UTC (rev 41722)
@@ -710,8 +710,7 @@
f = open(bashrc, 'w')
f.write("test -r ~/.alias && . ~/.alias\n")
f.write("PS1='GRASS %s (%s):\w > '\n" % (grass_version, location_name))
- f.write("PROMPT_COMMAND=%s\n" % gfile("etc", "prompt.sh"))
-
+
path = os.path.join(userhome, ".grass.bashrc")
if os.access(path, os.R_OK):
f.write(readfile(path) + '\n')
More information about the grass-commit
mailing list