From a2e650186024689329a5647af88c986598e8dead Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Thu, 25 Aug 2016 15:21:35 +0200 Subject: [PATCH] add agent alias for ssh-agent --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index e5b1cd8..cefd5cf 100644 --- a/zshrc +++ b/zshrc @@ -48,6 +48,9 @@ alias ls="ls --color=auto" alias less="LESSHISTFILE=- less" alias more="less" +# Ready for ssh'ing +alias agent='eval "$(ssh-agent)" && ssh-add' + # Local scripts export PATH="$HOME/.local/bin":"$PATH" export PATH="$HOME/.cabal/bin":"$PATH"