summary refs log tree commit diff
path: root/bin/1sh/histedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/histedit.c')
-rw-r--r--bin/1sh/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/1sh/histedit.c b/bin/1sh/histedit.c
index 74edf24f..bb2b14d1 100644
--- a/bin/1sh/histedit.c
+++ b/bin/1sh/histedit.c
@@ -122,6 +122,7 @@ histedit(void)
 				if (hist)
 					el_set(el, EL_HIST, history, hist);
 				el_set(el, EL_PROMPT, getprompt);
+				el_set(el, EL_RPROMPT, getrprompt);
 				el_set(el, EL_ADDFN, "sh-complete",
 				    "Filename completion",
 				    _el_fn_sh_complete);