Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: "You have running jobs" warning



>When I set NO_HUP, I would like the "you have running jobs" warning to
>disappear when leaving zsh, since the option should make it look like
>other shells in that respect (e.g. bash prints no warnings about
>background running jobs).

>Thus, if nohup is unset, the warning should be printed and the shell
>should require pressing C-d twice to exit, HUP-ing the job before
>exiting.

>However, if nohup is set, there should be no warning about running
>background jobs, and only one C-d should be sufficient to exit. This
>little patch does this. Could you please include it to the
>distribution, since the modified behaviour strikes me as much more
>logical.

<patch omitted>

I don't see this as logical at all.  I have "nohup" set but always
appreciate the warning that zsh gives when I'm about to abandon a
job.

Perhaps another option to control this is what you require.


Duncan.




Messages sorted by: Reverse Date, Date, Thread, Author