Opened 4 years ago

Closed 21 months ago

#2900 closed task (fixed)

The user environment settings in .grass7/bashrc are skipped

Reported by: micha Owned by: grass-dev@…
Priority: normal Milestone: 7.2.4
Component: Startup Version: 7.0.3
Keywords: bashrc grass.py env Cc:
CPU: Unspecified Platform: Linux

Description

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.

Change History (4)

comment:1 Changed 4 years ago by martinl

Milestone: 7.0.47.0.5

comment:2 Changed 4 years ago by neteler

Milestone: 7.0.57.0.6

comment:3 Changed 2 years ago by neteler

Milestone: 7.0.67.0.7

comment:4 Changed 21 months ago by wenzeslaus

Keywords: grass.py env added
Milestone: 7.0.77.2.4
Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.