mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
Don't start SSH agent if it's already running
This commit is contained in:
parent
7348528fb5
commit
975aff3989
5
.profile
5
.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 _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel"
|
||||||
export QT_STYLE_OVERRIDE=GTK+
|
export QT_STYLE_OVERRIDE=GTK+
|
||||||
|
|
||||||
eval `ssh-agent` && ssh-add
|
if [ -z $SSH_AGENT_PID ]; then
|
||||||
|
eval `ssh-agent`
|
||||||
|
ssh-add
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user