summary refs log tree commit diff
path: root/bin/dash/src/histedit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);