summary refs log tree commit diff
path: root/bin/cash/histedit.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-10 21:07:26 -0500
committerJune McEnroe <june@causal.agency>2019-01-10 21:10:33 -0500
commit1ca02130e9838cdd223abad9e147c8178055683f (patch)
treed3009752bb4f3f2b02809e439687e4054b97c094 /bin/cash/histedit.c
parentFix unused copyright and rcsid in cash (diff)
downloadsrc-1ca02130e9838cdd223abad9e147c8178055683f.tar.gz
src-1ca02130e9838cdd223abad9e147c8178055683f.zip
Set RPROMPT from RPS1 and RPS2
Diffstat (limited to 'bin/cash/histedit.c')
-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);