summary refs log tree commit diff
path: root/bin/cash/histedit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/cash/histedit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/cash/histedit.c b/bin/cash/histedit.c
index a568ea05..581925d8 100644
--- a/bin/cash/histedit.c
+++ b/bin/cash/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);