mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 05:00:50 +02:00
changes for quoting special and multibyte characters in glob patterns; changes to filename unicode normalization on macOS for globbing and filename completion; send SIGCONT unconditionally to just-restarted job in fg/bg
This commit is contained in:
@@ -2536,6 +2536,18 @@ rl_filename_completion_function (const char *text, int state)
|
||||
}
|
||||
filename_len = strlen (filename);
|
||||
|
||||
/* Normalize the filename if the application has set a rewrite hook. */
|
||||
if (*filename && rl_filename_rewrite_hook)
|
||||
{
|
||||
temp = (*rl_filename_rewrite_hook) (filename, filename_len);
|
||||
if (temp != filename)
|
||||
{
|
||||
xfree (filename);
|
||||
filename = temp;
|
||||
filename_len = strlen (filename);
|
||||
}
|
||||
}
|
||||
|
||||
rl_filename_completion_desired = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user