Opened 9 years ago
Closed 6 years ago
#2900 closed task (fixed)
The user environment settings in .grass7/bashrc are skipped
Reported by: | micha | Owned by: | |
---|---|---|---|
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 , 9 years ago
Milestone: | 7.0.4 → 7.0.5 |
---|
comment:2 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:3 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:4 by , 6 years ago
Keywords: | grass.py env added |
---|---|
Milestone: | 7.0.7 → 7.2.4 |
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Both
~/.grass.bashrc
and~/.grass7/bashrc
are usedbash_startup()
function ingrass.py in 7.2 at least since r65585.
~/.grass7/bashrcis used in the
load_env()` function and in the documentation. Changing milestone to 7.2.x and closing as fixed.