summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/profile b/profile
new file mode 100644
index 0000000..ae9c908
--- /dev/null
+++ b/profile
@@ -0,0 +1,7 @@
+SSHAGENT=/usr/bin/ssh-agent
+SSHAGENTARGS="-s"
+if [ -z "$SSH_AUTH_SOCK" -a -x "$SSHAGENT" ]; then
+ eval `$SSHAGENT $SSHAGENTARGS`
+ trap "kill $SSH_AGENT_PID" 0
+fi
+