mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-16 11:57:23 +00:00
Modify ssh-agent startup and sync script call in provision_linux
This commit is contained in:
parent
9ccb100294
commit
d7ed169b96
2 changed files with 4 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
|||
function ssh_agent_startup -d 'Start ssh agent and set env vars'
|
||||
eval (ssh-agent -c) >/dev/null 2>&1
|
||||
if test -z "$SSH_AUTH_SOCK"; or test -z "$SSH_AGENT_PID"
|
||||
eval (ssh-agent -c) >/dev/null 2>&1
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue