bash-5.0-rc1 release

This commit is contained in:
Chet Ramey
2018-12-20 11:41:58 -05:00
parent 2ae59c1134
commit f250956cb2
138 changed files with 13535 additions and 12329 deletions
+2 -1
View File
@@ -1583,7 +1583,8 @@ attempt_shell_completion (text, start, end)
/* command completion if programmable completion fails */
/* If we have a completion for the initial word, we can prefer that */
in_command_position = s == start && (iw_compspec || STREQ (n, text)); /* XXX */
foundcs = foundcs && (iw_compspec == 0);
if (iw_compspec && in_command_position)
foundcs = 0;
}
/* empty command name following command separator */
else if (s >= e && n[0] == '\0' && text[0] == '\0' && start > 0 &&