docs(ssh-agent): correct the description to new behaviour

This commit is contained in:
achevsmisle 2026-06-20 18:58:58 +03:00
commit 2d32d82e76
No known key found for this signature in database
GPG key ID: 918BC2BA80ECB278

View file

@ -108,14 +108,15 @@ By default its name is randomly generated in form of `$TMPDIR/ssh-XXXXXXXXXX/age
To override the `$SSH_AUTH_SOCK` path, use `override-agent-socket-path` style.
```zsh
zstyle :omz:plugins:ssh-agent override-agent-socket-path "/your/custom/path/socket_name"
zstyle :omz:plugins:ssh-agent override-agent-socket-path yes
zstyle :omz:plugins:ssh-agent ssh_agent_sock_path "YOUR_CUSTOM_SOCKET_PATH"
```
Of course you should double-quote the path itself.
Also there are few builtin default for Linux and MacOS, so you could simply add:
There are few builtin defaults for Linux and MacOS, so you could simply add:
```zsh
zstyle :omz:plugins:ssh-agent override-agent-socket-path
zstyle :omz:plugins:ssh-agent override-agent-socket-path yes
```
These are the defaults: