1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-26 02:30:58 +01:00

53964 (+ tiny change): improve the description of parameter RANDOM

This commit is contained in:
Jun-ichi Takimoto 2025-11-13 00:31:47 +09:00
parent 37a1e4af7d
commit 1e266fb8af
2 changed files with 11 additions and 0 deletions

View file

@ -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

View file

@ -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>)(