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 },
02:34:48 -0400'>2019-09-10Set Accept-Encoding in titleJune McEnroe 2019-09-08Set title User-AgentJune McEnroe 2019-09-07Add -x flag to titleJune McEnroe 2019-09-07Ignore SIGPIPE in relayJune McEnroe 2019-09-07Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe