[GRASS-SVN] r71747 - grass/branches/releasebranch_7_4/general/g.mapset

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 16 13:13:51 PST 2017


Author: neteler
Date: 2017-11-16 13:13:51 -0800 (Thu, 16 Nov 2017)
New Revision: 71747

Modified:
   grass/branches/releasebranch_7_4/general/g.mapset/g.mapset.html
Log:
g.mapset manual: clarify where shell history is written

Modified: grass/branches/releasebranch_7_4/general/g.mapset/g.mapset.html
===================================================================
--- grass/branches/releasebranch_7_4/general/g.mapset/g.mapset.html	2017-11-16 21:13:05 UTC (rev 71746)
+++ grass/branches/releasebranch_7_4/general/g.mapset/g.mapset.html	2017-11-16 21:13:51 UTC (rev 71747)
@@ -3,14 +3,18 @@
 <em>g.mapset</em> changes the current working MAPSET, LOCATION, or GISDBASE.
 This is a fairly radical maneuver to run mid-session, take care when running
 the GUI at the same time.
+<p>
+With <em>g.mapset</em>, the shell history (i.e. <tt>.bash_history</tt> file
+of the initial location will be used to record the command history.
 
-
 <h2>NOTES</h2>
 
-The shell continues to use the history for the old mapset. To change this 
-you can switch the history to the new settings by commands. For Bash:
+By default, the shell continues to use the history for the old mapset.
+To change this behaviour the history can be switched to record in the new
+mapset's history file as follows:
 
 <div class="code"><pre>
+# bash example
 history -w
 history -r /"$GISDBASE/$LOCATION/$MAPSET"/.bash_history
 HISTFILE=/"$GISDBASE/$LOCATION/$MAPSET"/.bash_history



More information about the grass-commit mailing list