summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-06-08 16:35:58 -0400
committerJune McEnroe <june@causal.agency>2020-06-08 16:35:58 -0400
commit5edd42165eadd7f285ed02f4de75c9a269366a26 (patch)
treed8631d3562cf948d894868a83970bf0a9b92d221
parentPrefix mandoc with exec in about-filter (diff)
downloadsrc-5edd42165eadd7f285ed02f4de75c9a269366a26.tar.gz
src-5edd42165eadd7f285ed02f4de75c9a269366a26.zip
Remove reference to FreeBSD-specific libedit hack
Newer versions of libedit have sane tab-complete now without FreeBSD's
hacks, and in fact the hack is gone in FreeBSD-CURRENT.

I'm still a little confused why binding this weird function is necessary
at all, but at least it exists everywhere, I guess.
-rw-r--r--bin/1sh/histedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/1sh/histedit.c b/bin/1sh/histedit.c
index 9784b1f1..459cc751 100644
--- a/bin/1sh/histedit.c
+++ b/bin/1sh/histedit.c
@@ -129,7 +129,7 @@ histedit(void)
 				el_set(el, EL_RPROMPT, getrprompt);
 				el_set(el, EL_ADDFN, "sh-complete",
 				    "Filename completion",
-				    _el_fn_sh_complete);
+				    _el_fn_complete);
 			} else {
 bad:
 				out2fmt_flush("sh: can't initialize editing\n");
>2019-07-12Move to www/text.causal.agencyJune McEnroe 2019-07-12Add new causal.agency with shotty shotsJune McEnroe 2019-07-12Use -s to infer terminal sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe 2019-07-12Support insert mode in shottyJune McEnroe 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe