Opened 5 years ago

#3908 new enhancement

Display current location on command line

Reported by: rshepard Owned by: grass-dev@…
Priority: normal Milestone: 8.0.0
Component: Display Version: svn-trunk
Keywords: command line, location, g.mapset Cc:
CPU: x86-64 Platform: Linux

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.