diff options
author | June McEnroe <june@causal.agency> | 2020-03-09 19:27:15 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-09 20:01:30 -0400 |
commit | 53c4f7f187b0599ae67cc898ee60963cff790884 (patch) | |
tree | a54df42f4271666252528e238dfff461643a4746 /bin/1sh | |
parent | Add \? exit status prompt expansion (diff) | |
download | src-53c4f7f187b0599ae67cc898ee60963cff790884.tar.gz src-53c4f7f187b0599ae67cc898ee60963cff790884.zip |
Source .editrc before applying -v or -e
Otherwise a bind -v in .editrc will take precedence and overwrite the ^I binding for sh-complete.
Diffstat (limited to '')
-rw-r--r-- | bin/1sh/histedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/1sh/histedit.c b/bin/1sh/histedit.c index bb2b14d1..520b4554 100644 --- a/bin/1sh/histedit.c +++ b/bin/1sh/histedit.c @@ -138,12 +138,12 @@ bad: INTON; } if (el) { + el_source(el, NULL); if (Vflag) el_set(el, EL_EDITOR, "vi"); else if (Eflag) el_set(el, EL_EDITOR, "emacs"); el_set(el, EL_BIND, "^I", "sh-complete", NULL); - el_source(el, NULL); } } else { INTOFF; |