/etc/zshrc:7: fork failed: resource temporarily unavailable /Users/my_name/.zshrc:1: fork failed: resource temporarily unavailable
I started getting the above message a few days ago on my Mac Mini M4 running Sequoia 15.5. whenever I start Terminal. Terminal can respond to pwd but not to any other command, including ls. I re-installed Sequoia non-destructively but the problem persists. All other apps run normally. On re-boot, with no apps open, Activity Monitor shows about 400 processes. As soon as I open Terminal that number jumps to 2,913 (always the same number) and thousands of zsh processes, each using one Thread, are spawned. When I quit Terminal, the zsh processes all disappear. Possible cause - I installed the Wave Terminal app but it did not install completely and I deleted it before doing the re-installation of Sequoia, so I discount that. Please advise if you have any insight into this, thanks.