summary refs log tree commit diff
path: root/bin
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
commitf046400a2aae1200496016ac707eef15ab5161e1 (patch)
treeadc3247e86baa78154db1ad89c3d02a5ef309f5e /bin
parentUpdate catgirl screenshot (diff)
downloadsrc-f046400a2aae1200496016ac707eef15ab5161e1.tar.gz
src-f046400a2aae1200496016ac707eef15ab5161e1.zip
Document HISTFILE
Diffstat (limited to 'bin')
-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 5b6876b0..2baca8eb 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 ,