diff options
author | June McEnroe <june@causal.agency> | 2019-01-10 21:07:26 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-01-10 21:10:33 -0500 |
commit | 279fdacbe25c28576f21984c560e912b7e338227 (patch) | |
tree | 59aec36a05b71867c7398ad045b7fb1cc19cb124 /bin/cash/histedit.c | |
parent | Fix unused copyright and rcsid in cash (diff) | |
download | src-279fdacbe25c28576f21984c560e912b7e338227.tar.gz src-279fdacbe25c28576f21984c560e912b7e338227.zip |
Set RPROMPT from RPS1 and RPS2
Diffstat (limited to '')
-rw-r--r-- | bin/cash/histedit.c | 1 |
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); |