From 1dd3339c824cdd2aefa7344b6e101acdb324251d Mon Sep 17 00:00:00 2001 From: James McGlashan Date: Thu, 1 Dec 2011 23:28:05 +1100 Subject: [PATCH] --- plugins/ssh-agent/ssh-agent.plugin.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/ssh-agent/ssh-agent.plugin.zsh b/plugins/ssh-agent/ssh-agent.plugin.zsh index 0db85a888..df7efd6a3 100644 --- a/plugins/ssh-agent/ssh-agent.plugin.zsh +++ b/plugins/ssh-agent/ssh-agent.plugin.zsh @@ -28,7 +28,8 @@ function _plugin__start_agent() # start ssh-agent and setup environment /usr/bin/env ssh-agent | sed 's/^echo/#echo/' > ${_plugin__ssh_env} [[ ! -f ${_plugin__ssh_env} ]] && return 1 - chmod 600 ${_plugin__ssh_env} . ${_plugin__ssh_env} > /dev/null + chmod 600 ${_plugin__ssh_env}; + . ${_plugin__ssh_env} > /dev/null # load identies zstyle -a :omz:plugins:ssh-agent identities identities