From: Siraaj Khandkar Date: Thu, 19 Mar 2020 19:44:49 +0000 (-0400) Subject: Start ssh-agent if it already hasn't been X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=44c60ac652b7a1825dba33fef576e344abc9d99f;p=khome.git Start ssh-agent if it already hasn't been --- diff --git a/home/.profile b/home/.profile index 9b45b68..6c8ecb4 100644 --- a/home/.profile +++ b/home/.profile @@ -6,3 +6,8 @@ for file in $HOME/lib/login_*.sh do . $file done + +if test ! "$SSH_AGENT_PID" +then + eval "$(ssh-agent)" +fi