new GLOBSORT variable

This commit is contained in:
Chet Ramey
2023-04-16 16:13:14 -04:00
parent 15b199c0dd
commit d06fefb2ba
36 changed files with 1811 additions and 943 deletions
+8
View File
@@ -5639,6 +5639,7 @@ static struct name_and_function special_vars[] = {
{ "FUNCNEST", sv_funcnest },
{ "GLOBIGNORE", sv_globignore },
{ "GLOBSORT", sv_globsort },
#if defined (HISTORY)
{ "HISTCONTROL", sv_history_control },
@@ -5833,6 +5834,13 @@ sv_globignore (const char *name)
setup_glob_ignore (name);
}
/* What to do when GLOBSORT changes. */
void
sv_globsort (const char *name)
{
setup_globsort (name);
}
#if defined (READLINE)
void
sv_comp_wordbreaks (const char *name)