1. 06 Feb, 2019 1 commit
    • Marc Cornellà's avatar
      z: refresh $RANDOM's value outside subshell · 052493b1
      Marc Cornellà authored
      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
      052493b1
  2. 29 Jul, 2018 1 commit
  3. 30 Dec, 2016 2 commits
  4. 27 Nov, 2015 1 commit
    • Andrew Janke's avatar
      z plugin: fix loading from custom location · 2205aa42
      Andrew Janke authored
      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.
      2205aa42
  5. 04 Nov, 2015 1 commit
  6. 03 Apr, 2013 1 commit