summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-08-12 11:02:17 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-08-12 11:02:17 +0100
commit276316bc34a818c6c4362163ca8d856ed8275367 (patch)
treebf8f977d6956ad4ed20de437d3190cd005ebf7f5
parentee857d66db4995758ea1f04beb8a793fc4e9ad4c (diff)
shell: load ssh-agent at login time
eval $(ssh-agent) has been installed in .zprofile Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rw-r--r--user/.zprofile4
1 files changed, 4 insertions, 0 deletions
diff --git a/user/.zprofile b/user/.zprofile
index 6980ae0..c07547b 100644
--- a/user/.zprofile
+++ b/user/.zprofile
@@ -1,3 +1,7 @@
alias s='startx'
PATH=$HOME/.local/bin:$PATH
+
+if [ -x /usr/bin/ssh-agent ]; then
+ eval $(ssh-agent)
+fi