diff options
author | June McEnroe <june@causal.agency> | 2020-12-22 20:28:24 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-23 16:12:01 -0500 |
commit | b171fe9c0398274b619f9b7a8ddc37daffeb419c (patch) | |
tree | 6816dfe03fb21ef194003b8491914255317a4b97 /bin/dash/src/histedit.c | |
parent | Cache the expanded prompt for editline (diff) | |
download | src-b171fe9c0398274b619f9b7a8ddc37daffeb419c.tar.gz src-b171fe9c0398274b619f9b7a8ddc37daffeb419c.zip |
Add RPS1 and RPS2 right prompt variables
Diffstat (limited to '')
-rw-r--r-- | bin/dash/src/histedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/dash/src/histedit.c b/bin/dash/src/histedit.c index 3525e028..58163314 100644 --- a/bin/dash/src/histedit.c +++ b/bin/dash/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); |