summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/1sh/1sh.111
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/1sh/1sh.1 b/bin/1sh/1sh.1
index 98f8733f..468b6925 100644
--- a/bin/1sh/1sh.1
+++ b/bin/1sh/1sh.1
@@ -32,7 +32,7 @@
 .\"	from: @(#)sh.1	8.6 (Berkeley) 5/4/95
 .\" $FreeBSD: releng/12.0/bin/sh/sh.1 336483 2018-07-19 13:09:29Z 0mp $
 .
-.Dd November 21, 2019
+.Dd November 26, 2019
 .Dt 1SH 1
 .Os
 .
@@ -1483,6 +1483,12 @@ The default editor used with the
 .Ic fc
 built-in.
 .
+.It Va HISTFILE
+The path to the file in which command history is saved.
+History is loaded when
+.Va HISTFILE
+is set and saved on exit.
+.
 .It Va HISTSIZE
 The number of previous commands that are accessible.
 .
@@ -3208,6 +3214,9 @@ sources were imported from
 .Ss Differences from sh
 .Bl -bullet -compact
 .It
+History is saved with
+.Va HISTFILE .
+.It
 Further prompt customization with
 .Va PS0 ,
 .Va RPS1 ,