From 5d6b41cc1b4eae47292305e4e55ab55102cae318 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 20 Dec 2019 18:05:04 -0500 Subject: Source .editrc before applying -v or -e Otherwise a bind -v in .editrc will take precedence and overwrite the ^I binding for sh-complete. --- bin/1sh/histedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/1sh') diff --git a/bin/1sh/histedit.c b/bin/1sh/histedit.c index ae24c1be..12ff54b5 100644 --- a/bin/1sh/histedit.c +++ b/bin/1sh/histedit.c @@ -142,12 +142,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; -- cgit 1.4.1 i collaborative ASCII art
about summary refs log tree commit diff homepage
path: root/torus.1 (unfollow)
Commit message (Expand)Author
2019-07-27Make copyright headers consistentJune McEnroe
2019-07-08Remove NetHack from indexJune McEnroe
2019-04-08Don't install rc.kfcgi eitherJune McEnroe
2019-03-28Remove rc.kfcgiJune McEnroe
2019-01-16Reformat index.html with explore linkJune McEnroe
2019-01-16Return false from keydown handler in exploreJune McEnroe
2019-01-08Draw lines to tile edgeJune McEnroe
2019-01-08Factor out default pathsJune McEnroe
2019-01-08Remove incorrect default coordinatesJune McEnroe
2019-01-07Set img src when explore fragment changesJune McEnroe
2019-01-07Compress PNG data in imageJune McEnroe
2019-01-07madvise MADV_NOCORE in imageJune McEnroe
2019-01-07Add license notice to explore JavaScriptJune McEnroe
2019-01-07Add Q/Home binding in exploreJune McEnroe
2019-01-07Fix explore image URLJune McEnroe
2019-01-07Add HOME button, ssh link, AGPL notice to exploreJune McEnroe
2019-01-06Add meta viewport to exploreJune McEnroe
2019-01-06Set background and max-width in exploreJune McEnroe
2019-01-06Swallow writes after the connection is closedJune McEnroe
2019-01-06Handle KCGI_HUPJune McEnroe
2019-01-06Install html filesJune McEnroe