From 5d1059241f9ba7a0be0852dc98a307b9fa560c47 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 8 Jun 2020 16:35:58 -0400 Subject: 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. --- bin/1sh/histedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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"); -- cgit 1.4.1