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
commitd495c77ca7d302a4c4c39ac42eedd9288ce007bb (patch)
tree1e6af6672e4a6bc2d96bc63d2f32d186dce50217 /bin/1sh/1sh.1
parentAdd RPS1 and RPS2 right prompts (diff)
downloadsrc-d495c77ca7d302a4c4c39ac42eedd9288ce007bb.tar.gz
src-d495c77ca7d302a4c4c39ac42eedd9288ce007bb.zip
Add PS0 pre-prompt string
Diffstat (limited to 'bin/1sh/1sh.1')
-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 "$ " ,