First try at adding back ssh-agent autostart

This commit is contained in:
2018-01-23 20:12:11 +01:00
parent 12c959dfc2
commit dc4a2be3b9
+4
View File
@@ -264,6 +264,10 @@ cod() { # colordiff replacement with git
cat $file2 | git diff --no-prefix $gitarg --no-index "$file1" -
}
if [ -z "$SSH_AUTH_SOCK" ]; then
eval `ssh-agent -s`
fi
if [ -r ~/.bashrc_local ]; then
. ~/.bashrc_local
fi