summary refs log tree commit diff
path: root/bin/dash/src/histedit.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-22 20:28:24 -0500
committerJune McEnroe <june@causal.agency>2020-12-23 16:12:01 -0500
commitc0b6f15a234a3e968df05c39ee747828c3b253db (patch)
tree293b21df53efdd8eebcb814efe8cdb97515a9ebe /bin/dash/src/histedit.c
parentCache the expanded prompt for editline (diff)
downloadsrc-c0b6f15a234a3e968df05c39ee747828c3b253db.tar.gz
src-c0b6f15a234a3e968df05c39ee747828c3b253db.zip
Add RPS1 and RPS2 right prompt variables
Diffstat (limited to 'bin/dash/src/histedit.c')
-rw-r--r--bin/dash/src/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/dash/src/histedit.c b/bin/dash/src/histedit.c
index 3525e028..58163314 100644
--- a/bin/dash/src/histedit.c
+++ b/bin/dash/src/histedit.c
@@ -116,6 +116,7 @@ histedit(void)
 				if (hist)
 					el_set(el, EL_HIST, history, hist);
 				el_set(el, EL_PROMPT, getprompt);
+				el_set(el, EL_RPROMPT, getrprompt);
 #ifdef HAVE__EL_FN_SH_COMPLETE
 				el_set(el, EL_ADDFN, "sh-complete", "Filename completion",
 					_el_fn_sh_complete);