Age | Commit message (Collapse) | Author |
|
|
|
|
|
For details and rationale, see:
https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
Closes #10518
|
|
|
|
Commit-id: 125f4dc47e15891739dd8262d5b23077fe8fb9ab
https://github.com/rupa/z/commit/125f4dc47e15891739dd8262d5b23077fe8fb9ab
|
|
|
|
Closes #8145
Co-authored-by: GHPS <GHPS@users.noreply.github.com>
|
|
This change references `$RANDOM` outside the subshell to refresh it for the
next subshell invocation. Otherwise, subsequent runs of the function get the
same value and, if run simultaneously, they may clobber each others' temp .z
files.
This is due to how zsh distributes RANDOM values when running inside a
subshell:
subshells that reference RANDOM will result in identical pseudo-random
values unless the value of RANDOM is referenced or seeded in the parent
shell in between subshell invocations
See: http://zsh.sourceforge.net/Doc/Release/Parameters.html#index-RANDOM
|
|
|
|
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
|
|
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
|
|
Closes #4578
|
|
The old implementation would attempt to load both the default and custom
implementations, with the custom one coming first, so it would get clobbered
by the default version.
|
|
Closes #3248
Closes #4570
|
|
|