summary refs log tree commit diff
path: root/bin/1sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-26 17:36:03 -0500
committerJune McEnroe <june@causal.agency>2019-11-26 17:36:03 -0500
commitd2fb7cc7537d90527d366e944f05fda4d706bad6 (patch)
tree5cbeb8120f10c6df3ea5ef91d276326a0e98b1db /bin/1sh
parentUpdate catgirl screenshot (diff)
downloadsrc-d2fb7cc7537d90527d366e944f05fda4d706bad6.tar.gz
src-d2fb7cc7537d90527d366e944f05fda4d706bad6.zip
Document HISTFILE
Diffstat (limited to 'bin/1sh')
-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 ,