Start ssh-agent if it already hasn't been
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 19 Mar 2020 19:44:49 +0000 (15:44 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 19 Mar 2020 19:44:49 +0000 (15:44 -0400)
home/.profile

index 9b45b68..6c8ecb4 100644 (file)
@@ -6,3 +6,8 @@ for file in $HOME/lib/login_*.sh
 do
     . $file
 done
+
+if test ! "$SSH_AGENT_PID"
+then
+    eval "$(ssh-agent)"
+fi
This page took 0.04217 seconds and 4 git commands to generate.