summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2025-11-13 00:31:47 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2025-11-13 00:31:47 +0900
commit1e266fb8af16ea86a7f246460d212386d1aa009b (patch)
treeab98b5ae124568517e0937900ea7dcfc66bbbb23
parent54008: infinite loop running completion with specific multibyte character and... (diff)
downloadzsh-1e266fb8af16ea86a7f246460d212386d1aa009b.tar
zsh-1e266fb8af16ea86a7f246460d212386d1aa009b.tar.gz
zsh-1e266fb8af16ea86a7f246460d212386d1aa009b.tar.bz2
zsh-1e266fb8af16ea86a7f246460d212386d1aa009b.tar.lz
zsh-1e266fb8af16ea86a7f246460d212386d1aa009b.tar.xz
zsh-1e266fb8af16ea86a7f246460d212386d1aa009b.tar.zst
zsh-1e266fb8af16ea86a7f246460d212386d1aa009b.zip
53964 (+ tiny change): improve the description of parameter RANDOM
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/params.yo6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c5fabdea0..d63dbf75a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-11-13 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
+
+ * 53964 (+ tiny change): Doc/Zsh/params.yo: mention zsh/random
+ module in the description of the parameter RANDOM
+
2025-11-12 Oliver Kiddle <opk@zsh.org>
* 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) <S>)(