summary refs log tree commit diff
path: root/bin/1sh/histedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/1sh/histedit.c')
-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 4c0821dd..32e798e3 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_complete);
+				    _el_fn_sh_complete);
 			} else {
 bad:
 				out2fmt_flush("sh: can't initialize editing\n");