<div dir="ltr"><div><div><div>Martin,<br><br></div>I think the following change has to be reverted because it breaks aliases and custom prompts defined in ~/.grass7/bashrc. Currently, only "NAME=VALUE" lines are parsed from this file in load_env().<br><br></div>Regards,<br></div>Huidae<br><br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 21, 2015 at 5:45 PM,  <span dir="ltr"><<a href="mailto:svn_grass@osgeo.org" target="_blank">svn_grass@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: martinl<br>
Date: 2015-05-21 14:45:19 -0700 (Thu, 21 May 2015)<br>
New Revision: 65307<br>
<br>
Modified:<br>
   grass/trunk/lib/init/grass.py<br>
Log:<br>
grass.py: don't overwrite environmental variables in bash_startup()<br>
<br>
<br>
Modified: grass/trunk/lib/init/grass.py<br>
===================================================================<br>
--- grass/trunk/lib/init/grass.py       2015-05-21 21:01:15 UTC (rev 65306)<br>
+++ grass/trunk/lib/init/grass.py       2015-05-21 21:45:19 UTC (rev 65307)<br></blockquote><div>... <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">@@ -1443,9 +1449,7 @@<br>
     path = os.path.join(userhome, ".grass.bashrc") # left for backward compatibility<br>
     if os.access(path, os.R_OK):<br>
         f.write(readfile(path) + '\n')<br>
-    if os.access(grass_env_file, os.R_OK):<br>
-        f.write(readfile(grass_env_file) + '\n')<br>
-<br>
+<br>
     f.write("export PATH=\"%s\"\n" % os.getenv('PATH'))<br>
     f.write("export HOME=\"%s\"\n" % userhome) # restore user home path<br>
<br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-commit" rel="noreferrer" target="_blank"></a><br>
</blockquote></div><br></div></div></div></div></div>