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. 30 Jan, 2019 2 commits
  3. 25 Jan, 2019 1 commit
  4. 21 Jan, 2019 1 commit
    • Marc Cornellà's avatar
      ssh-agent: check for loaded id filenames first (#7521) · c4948696
      Marc Cornellà authored
      This change makes the plugin check if an identity is loaded by looking
      first at the key filename reported by `ssh-add -l`. This fixes the use
      case where ssh-keygen is not able to output the fingerprint of a key,
      such as the one reported on #7516.
      
      Now, for an identity to be passed onto ssh-add, it has to fail the
      match for a loaded identity, both filename and signature.
      c4948696
  5. 20 Jan, 2019 1 commit
  6. 19 Jan, 2019 1 commit
  7. 15 Jan, 2019 1 commit
  8. 14 Jan, 2019 2 commits
  9. 09 Jan, 2019 1 commit
    • Marc Cornellà's avatar
      ssh-agent: autoload identities not already loaded (#7174) · fabee559
      Marc Cornellà authored
      With this PR the ssh-agent plugin checks the `ssh-add -l` output for the
      identities added, and adds all those specified by the user that haven't been
      added yet.
      
      We also decouple the logic of starting ssh-agent from the logic of adding
      identities, meaning that even if ssh-agent has been started by some other means
      (like launchd) we can still ssh-add the user's identities.
      
      Fixes #3019
      Fixes #6979
      fabee559
  10. 31 Dec, 2018 5 commits
  11. 27 Nov, 2018 2 commits
  12. 26 Nov, 2018 1 commit
  13. 16 Nov, 2018 3 commits
  14. 13 Nov, 2018 1 commit
  15. 03 Nov, 2018 1 commit
  16. 02 Nov, 2018 1 commit
  17. 01 Nov, 2018 5 commits
  18. 30 Oct, 2018 1 commit
  19. 29 Oct, 2018 1 commit
  20. 28 Oct, 2018 8 commits