From f046400a2aae1200496016ac707eef15ab5161e1 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 26 Nov 2019 17:36:03 -0500 Subject: Document HISTFILE --- bin/1sh/1sh.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'bin/1sh') 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 , -- cgit 1.4.1