Commit Graph

11 Commits

Author SHA1 Message Date
Michele Bologna 01ce52e681
z: upgrade plugin to the latest version (#9310)
Commit-id: 125f4dc47e15891739dd8262d5b23077fe8fb9ab
125f4dc47e
2020-10-07 17:15:29 +02:00
Christoph Bachhuber ff6d111d79
z: add markdown Readme (#8715) 2020-03-11 18:17:08 +01:00
Marc Cornellà 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
Marc Cornellà 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
MarkPochert a24a0b1a8e Update z to latest version (#7021) 2018-07-29 17:43:15 +02:00
Patrick José Pereira c362da8813 'plugins/z/z.1: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Patrick José Pereira 13e327eb7c 'plugins/z/README: Solve typos'
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2016-12-30 10:34:16 -02:00
Marc Cornellà d3b9520501 Merge branch 'apjanke-z-allow-custom'
Closes #4578
2015-11-27 17:12:45 +01:00
Andrew Janke 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
Eduardo San Martin Morote d3363964a2 Updated z version
Closes #3248
Closes #4570
2015-11-04 16:23:48 +01:00
Marko Bauhardt e4fb94306a ohmyzsh plugin of the z project: https://github.com/rupa/z 2013-04-03 20:20:57 +02:00