Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 3.0.8: "jobs" in precmd should not disable exit-time check

open
Bart Schaefer
5
2000-06-29
2000-06-29
Bart Schaefer
No

Discussion

  • Bart Schaefer
    Bart Schaefer
    2000-06-29

    None

     
    Attachments
  • Bart Schaefer
    Bart Schaefer
    2000-06-29

    When you have stopped jobs, zsh normally warns you and refuses to exit until you either dispose of the jobs or issue a second consecutive "exit" command. However, examining the list of jobs with the "jobs" command is considered the same as disposing of them, as you presumably know what you're doing if you immediately exit after looking at the list.

    This patch eliminates this special interpretation of the "jobs" command in the special case of using "jobs" in your "precmd" function.

     
  • Bart Schaefer
    Bart Schaefer
    2000-06-29

    • assigned_to: nobody --> barts