summary refs log tree commit diff
path: root/bin/cash
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-13 19:04:56 -0500
committerJune McEnroe <june@causal.agency>2019-01-13 19:04:56 -0500
commit76aaca61ffd603e232985bc46e46e9d3caad55bf (patch)
treedcf403789c851352cd19ce3dab43e4d9ab554988 /bin/cash
parentSet PS0 in cash (diff)
downloadsrc-76aaca61ffd603e232985bc46e46e9d3caad55bf.tar.gz
src-76aaca61ffd603e232985bc46e46e9d3caad55bf.zip
Document PS0
Diffstat (limited to '')
-rw-r--r--bin/cash/cash.17
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/cash/cash.1 b/bin/cash/cash.1
index 52a71a7a..d64876be 100644
--- a/bin/cash/cash.1
+++ b/bin/cash/cash.1
@@ -1539,6 +1539,13 @@ 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 "$ " ,