ZSH, nohup and background process that lasts...


When I switched to ZSH, and let BASH behind, I missed some behaviour : one of them was the ability to quit my terminal while some jobs are still alive.

In ZSH, IĀ get a messageĀ like this if I exit with running jobs :

zsh you have running jobs

If I exit again, my jobs are killed. But zsh accept some useful option to overide this :

setopt NO_HUP

First one is for not killing process after terminal exit, and second one is for not warning you about it.