sorin-ionescu / prezto

The configuration framework for Zsh
MIT License
13.98k stars 4.49k forks source link

Allow overriding _ssh_agent_sock for symmetry to _ssh_agent_env #2083

Closed hotpxl closed 6 months ago

hotpxl commented 6 months ago

_ssh_agent_env can be overridden by another module, this change proposes the same treatment to _ssh_agent_sock.

Nothing is overridden by default so it shouldn't affect any existing user.

Specifically, I was looking into overriding where the SSH files are stored, without modifying XDG_CACHE_HOME (because a bunch of other stuff uses that), and overriding _ssh_agent_env and _ssh_agent_sock seems like the cleanest.

indrajitr commented 6 months ago

Thank you @hotpxl for the recent changes!

hotpxl commented 6 months ago

Thank you for the reviews!