aboutsummaryrefslogtreecommitdiff
path: root/home/john/.profile
diff options
context:
space:
mode:
authorCharlie Root <John Ankarstr\xf6m>2021-06-08 20:44:18 +0200
committerCharlie Root <John Ankarstr\xf6m>2021-06-08 20:44:18 +0200
commit36e9ff4fbd539d64b3d9eb0c364b081cdfd5cb7a (patch)
treece9329ce54d0372fa650b01790d1a844c1b9c731 /home/john/.profile
parent8b76cbb551f0f463812002530ae2b4d5b15fa1e4 (diff)
downloadlbsd-36e9ff4fbd539d64b3d9eb0c364b081cdfd5cb7a.tar.gz
~/.profile: Start ssh-agent on login
Diffstat (limited to 'home/john/.profile')
-rw-r--r--home/john/.profile2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/john/.profile b/home/john/.profile
index 5b2e8b6..2cd527e 100644
--- a/home/john/.profile
+++ b/home/john/.profile
@@ -43,3 +43,5 @@ export ENV=$HOME/.shrc
export LC_ALL=en_US.UTF-8
export RTV_BROWSER=w3m
export CHOICES=~/.choices
+
+! pgrep ssh-agent 2>/dev/null && eval `ssh-agent`