refactor(zsh): set expiration for ssh agent keys to 24 hours

This commit is contained in:
Price Hiller 2023-09-07 00:14:09 -05:00
parent 2bdb241b17
commit 75cbfa31d6
No known key found for this signature in database

View File

@ -60,8 +60,8 @@ export REPORTTIME=600
### SSH ### ### SSH ###
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.sock" export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.sock"
ssh-add -l >/dev/null 2>&1 ssh-add -l >/dev/null
[ $? -ge 2 ] && ssh-agent -a "$SSH_AUTH_SOCK" >/dev/null 2>&1 [ $? -ge 2 ] && ssh-agent -a "$SSH_AUTH_SOCK" -t 24h >/dev/null
### FZF ### ### FZF ###