serenity
serenity copied to clipboard
zsh: First command substitution hangs
Test script:
#!/usr/local/bin/zsh
x=$(echo test)
echo "$x"
On a freshly booted machine, running the script will hang. If you pause it (ctrl Z) or open a new terminal, and run it again, it will work just fine. Only zsh has this issue.
zsh support is currently very rudimentary. A lot of things are not working like it should
also when you run the script again, the original script will work if you switch it back to the foreground.
This has been fixed, I can't reproduce it anymore.