massive update, probably broken
[dotfiles/.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index b9c99c2044687b9ffb577a9bcefe3a27e06c33fd..ff4b85b956306346a6d2702aa87a6b26b7e68271 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -79,7 +79,12 @@ shopt -s checkwinsize
 # vi mode in the shell
 set -o vi
 
+#####adding the agent forwarding stuff
+if [ -z "$SSH_AUTH_SOCK" ] ; then
+    eval `ssh-agent` > /dev/null 2&>1;
+    ssh-add > /dev/null 2&>1;
 
+fi
 
 
 source /usr/share/bash-completion/bash_completion