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 env Cc:
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.

Change History (4)

comment:1 Changed 4 years ago by martinl


comment:2 Changed 4 years ago by neteler


comment:3 Changed 2 years ago by neteler


comment:4 Changed 21 months ago by wenzeslaus

Keywords: env added
Resolution: fixed
Status: newclosed

Both ~/.grass.bashrc and ~/.grass7/bashrc are used bash_startup() function in 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.