Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: use of rand() in zsh



On Tue, Oct 11, 2022 at 5:44 AM Clinton Bunch <cdb_zsh@xxxxxxxxxxx> wrote:
>
> I was suggesting something that accessed the kernel entropy pool like
> bash's SRANDOM variable.

I would use it, and I think most uses of $RANDOM would be better off
as $SRANDOM.

In the meantime I'm using this:
https://gist.github.com/romkatv/a6cede40714ec77d4da73605c5ddb36a

Roman.




Messages sorted by: Reverse Date, Date, Thread, Author