Opened 8 years ago

Closed 6 years 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 by martinl, 8 years ago

Milestone: 7.0.47.0.5

comment:2 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:3 by neteler, 6 years ago

Milestone: 7.0.67.0.7

comment:4 by wenzeslaus, 6 years ago

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.