[GRASS-dev] easily restrict g.list/g.mlist to current mapset?

Markus wrote:

it would be nice to have a -c flag ("current mapset only")
in g.list and g.mlist to easily list in a selective way.
Currently I always have to run g.gisenv to fetch the current
mapset name and use mapset=<name>.

Or is there already a way to restrict the output to the
current mapset?

g.list rast mapset=.