diff options
| -rw-r--r-- | skel/.zprofile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skel/.zprofile b/skel/.zprofile index 9af47e3..ec97cef 100644 --- a/skel/.zprofile +++ b/skel/.zprofile @@ -27,10 +27,10 @@ function start_agent { # Source SSH settings, if applicable if [[ -f "${SSH_ENV}" ]]; then + . "${SSH_ENV}" > /dev/null ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || { start_agent; } - . "${SSH_ENV}" > /dev/null else start_agent; fi |
