From b39b0d6a0d39ac0d4e0f18561e516bd2e86c313e Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Sun, 23 Oct 2016 12:46:17 -0400 Subject: [PATCH] Start ssh-agent in new terminal sessions I need this for Arch Linux setup. --- zshenv | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshenv b/zshenv index 68e39b7..0fdcc69 100644 --- a/zshenv +++ b/zshenv @@ -35,3 +35,6 @@ path=($HOME/bin ${ANSIBLE_DIR}/bin ${RBENV_PATH}/bin $HOME/.vim/scripts $path) # Start rbenv eval "$(rbenv init -)" + +# Star the SSH agent +eval "$(ssh-agent -s)" > /dev/null