diff options
| author | David Kaufmann <astra@ionic.at> | 2015-11-19 03:42:17 +0100 |
|---|---|---|
| committer | David Kaufmann <astra@ionic.at> | 2015-12-01 03:50:30 +0100 |
| commit | eda3aaabbd6cdd39b0f14e7d3c185a6d1d9ca187 (patch) | |
| tree | 40d1eca2845ef02a20d4492d6eb0303d8b85f37c | |
| parent | d8fd958a0c0d00bb4599f56f847136342a8ebfd6 (diff) | |
| download | config-eda3aaabbd6cdd39b0f14e7d3c185a6d1d9ca187.tar.gz | |
fix ssh_agent detection
| -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 |
