update ssh-agent configuration
This commit is contained in:
@@ -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' autoload yes
|
||||||
zstyle ':omz:plugins:alias-finder' exact yes
|
zstyle ':omz:plugins:alias-finder' exact yes
|
||||||
zstyle ':omz:plugins:ssh-agent' agent-forwarding 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
|
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"
|
# DISABLE_AUTO_TITLE="true"
|
||||||
ENABLE_CORRECTION="true"
|
ENABLE_CORRECTION="true"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user