serenity icon indicating copy to clipboard operation
serenity copied to clipboard

zsh: First command substitution hangs

Open oskar-skog opened this issue 2 years ago • 1 comments

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.

cursed-zsh

oskar-skog avatar Jun 17 '23 16:06 oskar-skog

zsh support is currently very rudimentary. A lot of things are not working like it should

fdellwing avatar Jun 19 '23 11:06 fdellwing

also when you run the script again, the original script will work if you switch it back to the foreground.

mobounya avatar Aug 02 '23 10:08 mobounya

This has been fixed, I can't reproduce it anymore.

oskar-skog avatar Oct 01 '23 12:10 oskar-skog