From 279fdacbe25c28576f21984c560e912b7e338227 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Thu, 10 Jan 2019 21:07:26 -0500 Subject: Set RPROMPT from RPS1 and RPS2 --- bin/cash/histedit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/cash/histedit.c') 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); -- cgit 1.4.1