From 1e266fb8af16ea86a7f246460d212386d1aa009b Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Thu, 13 Nov 2025 00:31:47 +0900 Subject: 53964 (+ tiny change): improve the description of parameter RANDOM --- Doc/Zsh/params.yo | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Doc/Zsh/params.yo') 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) )( -- cgit v1.2.3-70-g09d2