summary refs log tree commit diff
path: root/bin/1sh/1sh.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-09 19:39:15 -0400
committerJune McEnroe <june@causal.agency>2020-03-09 20:01:30 -0400
commitaccab6ee102110213b1dc046fc3eba1945c20010 (patch)
tree5d1c5e94f827468ee215b5a41aac9b5321e4c9ce /bin/1sh/1sh.1
parentSource .editrc before applying -v or -e (diff)
downloadsrc-accab6ee102110213b1dc046fc3eba1945c20010.tar.gz
src-accab6ee102110213b1dc046fc3eba1945c20010.zip
Add HISTFILE history saving
Diffstat (limited to 'bin/1sh/1sh.1')
-rw-r--r--bin/1sh/1sh.15
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/1sh/1sh.1 b/bin/1sh/1sh.1
index d72a87c7..aa906bca 100644
--- a/bin/1sh/1sh.1
+++ b/bin/1sh/1sh.1
@@ -1351,6 +1351,11 @@ If not set, the default editor is
 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.
 .It Va HOME