summary refs log tree commit diff
path: root/src/var.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-22 20:28:24 -0500
committerJune McEnroe <june@causal.agency>2022-01-21 22:03:09 -0500
commit5132ea0e048ccf7a1d8a66ca16cd45413cfeb57b (patch)
tree76cbcb46557de830becbb047b7368a88dd37c83b /src/var.c
parentdash: Cache the expanded prompt for editline (diff)
downloaddash-5132ea0e048ccf7a1d8a66ca16cd45413cfeb57b.tar.gz
dash-5132ea0e048ccf7a1d8a66ca16cd45413cfeb57b.zip
dash: Add RPS1 and RPS2 right prompt variables
Diffstat (limited to 'src/var.c')
-rw-r--r--src/var.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/var.c b/src/var.c
index ef9c2bd..ca9504e 100644
--- a/src/var.c
+++ b/src/var.c
@@ -93,6 +93,8 @@ struct var varinit[] = {
 	{ 0,	VSTRFIXED|VTEXTFIXED,		"PS1=$ ",	0 },
 	{ 0,	VSTRFIXED|VTEXTFIXED,		"PS2=> ",	0 },
 	{ 0,	VSTRFIXED|VTEXTFIXED,		"PS4=+ ",	0 },
+	{ 0,	VSTRFIXED|VTEXTFIXED|VUNSET,	"RPS1\0",	0 },
+	{ 0,	VSTRFIXED|VTEXTFIXED|VUNSET,	"RPS2\0",	0 },
 	{ 0,	VSTRFIXED|VTEXTFIXED,		defoptindvar,	getoptsreset },
 #ifdef WITH_LINENO
 	{ 0,	VSTRFIXED|VTEXTFIXED,		linenovar,	0 },
502dd8c418c98226bf2d9029bcecc08e7&follow=1'>Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe