svn commit: r358114 - stable/12/bin/sh

Baptiste Daroussin bapt at FreeBSD.org
Wed Feb 19 14:51:41 UTC 2020


Author: bapt
Date: Wed Feb 19 14:51:39 2020
New Revision: 358114
URL: https://svnweb.freebsd.org/changeset/base/358114

Log:
  MFC r352385:
  
  Do not use our custom completion function, it is not needed anymore

Modified:
  stable/12/bin/sh/histedit.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/bin/sh/histedit.c
==============================================================================
--- stable/12/bin/sh/histedit.c	Wed Feb 19 14:49:32 2020	(r358113)
+++ stable/12/bin/sh/histedit.c	Wed Feb 19 14:51:39 2020	(r358114)
@@ -124,7 +124,7 @@ histedit(void)
 				el_set(el, EL_PROMPT, getprompt);
 				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");


More information about the svn-src-all mailing list