Zsh Version: zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
Operating System: Ubuntu 22.04.1 LTS running in Hyper-V
Description: $RANDOM is always the same value when I try to use it in “$()” expression.
For example:
Another one:
And the same problem happened when I used the zsh built from the latest source pack from sourceforge. So is it a real bug or a feature I don’t know?