Commit graph

6 commits

Author SHA1 Message Date
Michele Bologna
01ce52e681
z: upgrade plugin to the latest version ()
Commit-id: 125f4dc47e15891739dd8262d5b23077fe8fb9ab
125f4dc47e
2020-10-07 17:15:29 +02:00
Marc Cornellà
576e0992ca z: update to latest version (e77e938)
Closes 

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 () 2018-07-29 17:43:15 +02:00
Eduardo San Martin Morote
d3363964a2 Updated z version
Closes 
Closes 
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