diff --git a/zshrc b/zshrc index 2336c88..27c95be 100644 --- a/zshrc +++ b/zshrc @@ -147,6 +147,10 @@ function start-ssh-agent() { ssh-agent >~/.ssh/agent.out } +function setup-ssh-agent() { + start-ssh-agent && load-ssh-agent +} + function __maybesource() { if [[ -f "${1}" ]]; then if [[ "${2}" == silent ]]; then