diff options
author | June McEnroe <june@causal.agency> | 2020-12-22 20:28:24 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-01-21 22:03:09 -0500 |
commit | 5132ea0e048ccf7a1d8a66ca16cd45413cfeb57b (patch) | |
tree | 76cbcb46557de830becbb047b7368a88dd37c83b /src/histedit.c | |
parent | dash: Cache the expanded prompt for editline (diff) | |
download | dash-5132ea0e048ccf7a1d8a66ca16cd45413cfeb57b.tar.gz dash-5132ea0e048ccf7a1d8a66ca16cd45413cfeb57b.zip |
dash: Add RPS1 and RPS2 right prompt variables
Diffstat (limited to 'src/histedit.c')
-rw-r--r-- | src/histedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/histedit.c b/src/histedit.c index 3525e02..5816331 100644 --- a/src/histedit.c +++ b/src/histedit.c @@ -116,6 +116,7 @@ histedit(void) if (hist) el_set(el, EL_HIST, history, hist); el_set(el, EL_PROMPT, getprompt); + el_set(el, EL_RPROMPT, getrprompt); #ifdef HAVE__EL_FN_SH_COMPLETE el_set(el, EL_ADDFN, "sh-complete", "Filename completion", _el_fn_sh_complete); |