aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/ssh-agent.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bash/ssh-agent.profile b/bash/ssh-agent.profile
index 4360eb4..fb014bb 100644
--- a/bash/ssh-agent.profile
+++ b/bash/ssh-agent.profile
@@ -1 +1,3 @@
-eval `ssh-agent`
+# vi: ft=sh
+
+[ -z $SSH_AGENT_PID ] && eval `ssh-agent`