[GRASS-dev] [GRASS GIS] #2900: The user environment settings in .grass7/bashrc are skipped

#2900: The user environment settings in .grass7/bashrc are skipped
---------------------+-------------------------
Reporter: micha | Owner: grass-dev@…
     Type: task | Status: new
Priority: normal | Milestone: 7.0.4
Component: Startup | Version: 7.0.3
Keywords: bashrc | CPU: Unspecified
Platform: Linux |
---------------------+-------------------------
The startup script /usr/bin/grass70 (in ubuntu) skips reading the user's
bashrc file, which should be ~/.grass7/bashrc. Lines 1158-1159 in the
script are commented out, and instead, the script reads only the older
~/.grass.bashrc

Either the script should be corrected, or the documentation changed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2900&gt;
GRASS GIS <https://grass.osgeo.org>

#2900: The user environment settings in .grass7/bashrc are skipped
--------------------------+---------------------------------
  Reporter: micha | Owner: grass-dev@…
      Type: task | Status: closed
  Priority: normal | Milestone: 7.2.4
Component: Startup | Version: 7.0.3
Resolution: fixed | Keywords: bashrc grass.py env
       CPU: Unspecified | Platform: Linux
--------------------------+---------------------------------
Changes (by wenzeslaus):

* status: new => closed
* keywords: bashrc => bashrc grass.py env
* resolution: => fixed
* milestone: 7.0.7 => 7.2.4

Comment:

Both `~/.grass.bashrc` and `~/.grass7/bashrc` are used `bash_startup()`
function in `grass.py in 7.2 at least since r65585. `~/.grass7/bashrc` is
used in the `load_env()` function and in the documentation. Changing
milestone to 7.2.x and closing as fixed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2900#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>