feat(zsh): permit ssh-agent to be multi-session

This commit is contained in:
Price Hiller 2023-01-28 19:03:55 -06:00
parent bc1416472c
commit f914897699

View File

@ -9,7 +9,9 @@ export ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=2
export ZSH_AUTOSUGGEST_STRATEGY=(history completion) export ZSH_AUTOSUGGEST_STRATEGY=(history completion)
### SSH ### ### SSH ###
eval "$(ssh-agent -s)" >/dev/null 2>&1 export SSH_AUTH_SOCK="${HOME}/.ssh/ssh-agent.sock"
ssh-add -l >/dev/null 2>&1
[ $? -ge 2 ] && ssh-agent -a "$SSH_AUTH_SOCK" >/dev/null
### FZF ### ### FZF ###