diff --git a/.profile b/.profile index 31ca83d..c4183fd 100644 --- a/.profile +++ b/.profile @@ -14,4 +14,7 @@ export BROWSER="google-chrome-stable" export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" export QT_STYLE_OVERRIDE=GTK+ -eval `ssh-agent` && ssh-add +if [ -z $SSH_AGENT_PID ]; then + eval `ssh-agent` + ssh-add +fi