update ssh-agent configuration

This commit is contained in:
2025-08-29 20:59:59 -04:00
parent 60f6f96cbd
commit e1b88c9647
+6 -1
View File
@@ -40,9 +40,14 @@ export FZF_ALT_C_OPTS="--preview 'eza --tree --color=always {} | head -200'"
zstyle ':omz:plugins:alias-finder' autoload yes
zstyle ':omz:plugins:alias-finder' exact yes
zstyle ':omz:plugins:ssh-agent' agent-forwarding yes
zstyle ':omz:plugins:ssh-agent' lifetime 2h
zstyle ':omz:plugins:ssh-agent' lifetime 1h
zstyle ':omz:plugins:ssh-agent' quiet yes
# Only export SSH_AUTH_SOCK if agent is running
if [ -S "$SSH_AUTH_SOCK" ]; then
export SSH_AUTH_SOCK
fi
# DISABLE_AUTO_TITLE="true"
ENABLE_CORRECTION="true"