summaryrefslogtreecommitdiff
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/.profile b/.profile
index bbf3c42..983092c 100644
--- a/.profile
+++ b/.profile
@@ -2,6 +2,11 @@
PATH=~/bin:/opt/homebrew/bin:$PATH:~/go/bin:~/.cargo/bin
+if [ -z "$SSH_AUTH_SOCK" ] ; then
+ eval `ssh-agent -s`
+ ssh-add
+fi
+
[ "${SHELL##*/}" = bash ] && . ~/.bashrc
# Last action: auto start X11 when logged on first console