diff options
author | June McEnroe <june@causal.agency> | 2020-03-09 19:09:41 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-09 20:01:30 -0400 |
commit | 15ecabfb5508f1a2230b67f35c0866dda9fac24d (patch) | |
tree | 4f6be565dc3133877e129cdddf4db51db5a184bb /bin/1sh/histedit.c | |
parent | Fix copyright and rcsid (diff) | |
download | src-15ecabfb5508f1a2230b67f35c0866dda9fac24d.tar.gz src-15ecabfb5508f1a2230b67f35c0866dda9fac24d.zip |
Add RPS1 and RPS2 right prompts
Diffstat (limited to '')
-rw-r--r-- | bin/1sh/histedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/1sh/histedit.c b/bin/1sh/histedit.c index 74edf24f..bb2b14d1 100644 --- a/bin/1sh/histedit.c +++ b/bin/1sh/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); |