shell: it probably makes more sense to start ssh-agent in ~/.profile
[~bandali/configs] / .bashrc
diff --git a/.bashrc b/.bashrc
index 9e3f5e2..d8bbe5e 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -102,12 +102,3 @@ if ! shopt -oq posix; then
     . /etc/bash_completion
   fi
 fi
     . /etc/bash_completion
   fi
 fi
-
-if [ -z "$IS_GUIX_SYSTEM" ]; then
-    if ! pgrep -u "$USER" ssh-agent > /dev/null; then
-        ssh-agent > ~/.ssh-agent-thing
-    fi
-    if [[ ! "$SSH_AUTH_SOCK" ]]; then
-        eval "$(<~/.ssh-agent-thing)"
-    fi
-fi