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 | c0b6f15a234a3e968df05c39ee747828c3b253db (patch) | |
tree | 293b21df53efdd8eebcb814efe8cdb97515a9ebe /bin/dash/src/histedit.c | |
parent | Cache the expanded prompt for editline (diff) | |
download | src-c0b6f15a234a3e968df05c39ee747828c3b253db.tar.gz src-c0b6f15a234a3e968df05c39ee747828c3b253db.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); |