diff options
author | Linus Groh <mail@linusgroh.de> | 2020-10-25 23:29:37 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-26 11:27:54 +0100 |
commit | 4a4b1b1131f4622d7c83bd5a55961bcc56ec7943 (patch) | |
tree | 7c8d4f23ce5de657bffa9eb93f3f687f410c4656 /Base/usr/share/man | |
parent | b2e4fe1299bd57b4ab4bb7ea0e0133038db52b26 (diff) | |
download | serenity-4a4b1b1131f4622d7c83bd5a55961bcc56ec7943.zip |
Shell: Support HISTFILE environment variable
This allows changing the Shell's history file path.
Diffstat (limited to 'Base/usr/share/man')
-rw-r--r-- | Base/usr/share/man/man7/Shell-vars.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Base/usr/share/man/man7/Shell-vars.md b/Base/usr/share/man/man7/Shell-vars.md index d5a653eff0..cce5fc7457 100644 --- a/Base/usr/share/man/man7/Shell-vars.md +++ b/Base/usr/share/man/man7/Shell-vars.md @@ -15,10 +15,16 @@ Such variables can be changed or set by the user to tweak how the shell presents The value of this variable is used to join lists or split strings into lists, its default value is a newline (`\\n`). +2. History + +`HISTFILE` (environment) + +The value of this variable is used as the Shell's history file path, both for reading history at startup and writing history on exit. +Its default value is `~/.history`. ## Visual -2. Prompting +1. Prompting `PROMPT` (environment) @@ -30,8 +36,6 @@ The value of this variable is used to generate a prompt, the following escape se Any other escaped character shall be ignored. - `PROMPT_EOL_MARK` (environment) The value of this variable is used to denote the ends of partial lines (lines with no newline), its default value is '%'. - |