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
commit279fdacbe25c28576f21984c560e912b7e338227 (patch)
tree59aec36a05b71867c7398ad045b7fb1cc19cb124 /bin/cash/histedit.c
parentFix unused copyright and rcsid in cash (diff)
downloadsrc-279fdacbe25c28576f21984c560e912b7e338227.tar.gz
src-279fdacbe25c28576f21984c560e912b7e338227.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);