zsh sleep terminal process

If open a terminal window then close it I’m warned I will terminate a process called -zsh, Sleep. This isn’t something I’ve noticed in the past and would like some help to figure out why and if this is normal behaviour. Thanks.

MacBook Pro 15″, macOS 11.3

Posted on May 22, 2021 3:09 AM

Reply
8 replies

May 22, 2021 5:20 AM in response to Ryanhewitt

When you launch the Terminal, it will also open with the Zsh shell. As long as there is no activity in the Terminal window, the UNIX kernel will sleep the Terminal and Zsh shell until there is activity (you enter something) in the Terminal. Typing a control+d will exit the existing Zsh shell and render the current Terminal session useless until you quit the Terminal and relaunch it.


All that gibberish on top of your Terminal window is configurable, and in my case, I find it distracting and only have the Terminal name (default) on its title bar. In Terminal Preferences, mine looks like this:


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

zsh sleep terminal process

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.