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:15:33 -0400
committerJune McEnroe <june@causal.agency>2020-03-09 20:01:30 -0400
commite38b84cff0fc3bb821bff0e064904210d8125d3f (patch)
tree56d2457957f5db321022926c0bbd854410dceacd /bin/1sh/1sh.1
parentAdd RPS1 and RPS2 right prompts (diff)
downloadsrc-e38b84cff0fc3bb821bff0e064904210d8125d3f.tar.gz
src-e38b84cff0fc3bb821bff0e064904210d8125d3f.zip
Add PS0 pre-prompt string
Diffstat (limited to '')
-rw-r--r--bin/1sh/1sh.16
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/1sh/1sh.1 b/bin/1sh/1sh.1
index 5ce17a5f..9bbd881b 100644
--- a/bin/1sh/1sh.1
+++ b/bin/1sh/1sh.1
@@ -1404,6 +1404,12 @@ unless this variable is in the environment.
 A later change of parent process ID is not reflected.
 A subshell retains the same value of
 .Va PPID .
+.It Va PS0
+The pre-prompt string,
+which is printed before each new prompt.
+.Va PS0
+may include any of the formatting sequences from
+.Va PS1 .
 .It Va PS1
 The primary prompt string, which defaults to
 .Dq Li "$ " ,