From d2fb7cc7537d90527d366e944f05fda4d706bad6 Mon Sep 17 00:00:00 2001 From: "C. 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') 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 , -- cgit 1.4.1