allow some job notifications while running $PROMPT_COMMAND; allow notifications while running bind -x commands; change some translated messages to be more uniform

This commit is contained in:
Chet Ramey
2024-05-06 11:25:35 -04:00
parent d17d185fff
commit 6fb61ee126
15 changed files with 98 additions and 22 deletions
+7
View File
@@ -48,6 +48,10 @@
# include "bashhist.h"
#endif
#if defined (JOB_CONTROL)
# include "jobs.h"
#endif
static void send_pwd_to_eterm (void);
static sighandler alrm_catcher (int);
@@ -343,6 +347,9 @@ parse_command (void)
actually printed. */
if (interactive && bash_input.type != st_string && parser_expanding_alias() == 0)
{
#if defined (JOB_CONTROL)
notify_and_cleanup ();
#endif
#if defined (READLINE)
if (no_line_editing || (bash_input.type == st_stdin && parser_will_prompt ()))
#endif