#3908: Display current location on command line
----------------------------------------------+-------------------------
Reporter: rshepard | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 8.0.0
Component: Display | Version: svn-trunk
Keywords: command line, location, g.mapset | CPU: x86-64
Platform: Linux |
----------------------------------------------+-------------------------
On the command line the location is shown in parentheses between the
version number and the cwd. However, when the location is changed with
g.mapset the command line location is not updated.
Example:
GRASS 7.9.dev (h2):/data/grassdata > g.mapset map=PERMANENT loc=h3
Mapset switched. Your shell continues to use the history for the old
mapset
You can switch the history by commands:
history -w; history -r /data/grassdata/h3/PERMANENT/.bash_history;
HISTFILE=/data/grassdata/h3/PERMANENT/.bash_history
GRASS 7.9.dev (h2):/data/grassdata >
It would be very helpful for the last line to display (h3) rather than the
original (h2).
Thanks in advance,
Rich
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3908>
GRASS GIS <https://grass.osgeo.org>