diff --git a/ChangeLog b/ChangeLog index c5fabdea0..d63dbf75a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-11-13 Jun-ichi Takimoto + + * 53964 (+ tiny change): Doc/Zsh/params.yo: mention zsh/random + module in the description of the parameter RANDOM + 2025-11-12 Oliver Kiddle * Heon Jeong: 54008: Src/Zle/compmatch.c: infinite loop running diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 34825deae..dcd37aa6e 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -926,6 +926,12 @@ The values of tt(RANDOM) form an intentionally-repeatable pseudo-random sequence; subshells that reference tt(RANDOM) will result in identical pseudo-random values unless the value of tt(RANDOM) is referenced or seeded in the parent shell in between subshell invocations. + +tt(RANDOM) uses the system's library function manref(rand)(3). +If higher degree of randomness is required, please consider using +the autoloadable parameter tt(SRANDOM) from +ifzman(the tt(zsh/random) module (see zmanref(zshmodules)))\ +ifnzman(noderef(The zsh/random Module)). ) vindex(SECONDS) item(tt(SECONDS) )(