refactor(zsh): set expiration for ssh agent keys to 24 hours
This commit is contained in:
parent
2bdb241b17
commit
75cbfa31d6
@ -60,8 +60,8 @@ export REPORTTIME=600
|
||||
|
||||
### SSH ###
|
||||
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.sock"
|
||||
ssh-add -l >/dev/null 2>&1
|
||||
[ $? -ge 2 ] && ssh-agent -a "$SSH_AUTH_SOCK" >/dev/null 2>&1
|
||||
ssh-add -l >/dev/null
|
||||
[ $? -ge 2 ] && ssh-agent -a "$SSH_AUTH_SOCK" -t 24h >/dev/null
|
||||
|
||||
|
||||
### FZF ###
|
||||
|
Loading…
Reference in New Issue
Block a user