aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-09 20:20:56 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-09 20:20:56 +0200
commita9690e0cd99897365941b9ccc2bfe8f08e93a58b (patch)
treee8b73e192ecf759bef6aaca116fb19e6318e28dc /bash
parent9ae634f16ec1f311c786ba50f44f650039b1ff69 (diff)
downloaddotfiles-a9690e0cd99897365941b9ccc2bfe8f08e93a58b.tar.gz
ssh-agent
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`