Make .ssh-find-agent an optional dependency
This commit is contained in:
parent
7c438bb829
commit
1080894466
1 changed files with 4 additions and 2 deletions
2
.zshrc
2
.zshrc
|
@ -249,8 +249,10 @@ _check-for-zsh-quickstart-update() {
|
|||
BROWSER=/usr/bin/chromium
|
||||
EDITOR=/usr/bin/micro
|
||||
|
||||
if [[ -f ~/.ssh/.ssh-find-agent.sh ]]
|
||||
. ~/.ssh/.ssh-find-agent.sh
|
||||
ssh-find-agent -a
|
||||
fi
|
||||
if [ -z "$SSH_AUTH_SOCK" ]
|
||||
then
|
||||
eval $(ssh-agent) > /dev/null
|
||||
|
|
Loading…
Reference in a new issue