Commit Graph

9 Commits

Author SHA1 Message Date
576e0992ca z: update to latest version (e77e938)
Closes #8145

Co-authored-by: GHPS <GHPS@users.noreply.github.com>
2019-09-13 11:44:20 +02:00
052493b1ba z: refresh $RANDOM's value outside subshell
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
2019-02-06 11:57:28 +01:00
a24a0b1a8e Update z to latest version (#7021) 2018-07-29 17:43:15 +02:00
c362da8813 'plugins/z/z.1: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
13e327eb7c 'plugins/z/README: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
d3b9520501 Merge branch 'apjanke-z-allow-custom'
Closes #4578
2015-11-27 17:12:45 +01:00
2205aa42aa z plugin: fix loading from custom location
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.
2015-11-27 17:12:09 +01:00
d3363964a2 Updated z version
Closes #3248
Closes #4570
2015-11-04 16:23:48 +01:00
e4fb94306a ohmyzsh plugin of the z project: https://github.com/rupa/z 2013-04-03 20:20:57 +02:00