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:09:41 -0400
committerJune McEnroe <june@causal.agency>2020-03-09 20:01:30 -0400
commit15ecabfb5508f1a2230b67f35c0866dda9fac24d (patch)
tree4f6be565dc3133877e129cdddf4db51db5a184bb /bin/1sh/1sh.1
parentFix copyright and rcsid (diff)
downloadsrc-15ecabfb5508f1a2230b67f35c0866dda9fac24d.tar.gz
src-15ecabfb5508f1a2230b67f35c0866dda9fac24d.zip
Add RPS1 and RPS2 right prompts
Diffstat (limited to 'bin/1sh/1sh.1')
-rw-r--r--bin/1sh/1sh.110
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/1sh/1sh.1 b/bin/1sh/1sh.1
index 6c60c4ce..5ce17a5f 100644
--- a/bin/1sh/1sh.1
+++ b/bin/1sh/1sh.1
@@ -1442,6 +1442,16 @@ The prefix for the trace output (if
 is active).
 The default is
 .Dq Li "+ " .
+.It Va RPS1
+The primary right prompt string.
+.Va RPS1
+may include any of the formatting sequences from
+.Va PS1 .
+.It Va RPS2
+The secondary right prompt string.
+.Va RPS2
+may include any of the formatting sequences from
+.Va PS1 .
 .El
 .Ss Word Expansions
 This clause describes the various expansions that are