summaryrefslogtreecommitdiff
path: root/plugins/ssh-agent/ssh-agent.plugin.zsh
diff options
context:
space:
mode:
authorFredrik Appelberg <fredrik.appelberg@gmail.com>2011-03-23 09:20:24 +0100
committerFredrik Appelberg <fredrik.appelberg@gmail.com>2011-03-23 09:20:24 +0100
commit9092bf7b53b9e24a5283aeb6dd6950c3238e5cb8 (patch)
tree956405ade580b169c85f4be4397ebbe02a3f94d5 /plugins/ssh-agent/ssh-agent.plugin.zsh
parentf61a395587327b68e25ee7b5390d8888dde314c2 (diff)
parent52df85440ee8ead8f17d3aa3e1fedf187162313c (diff)
downloadzsh-9092bf7b53b9e24a5283aeb6dd6950c3238e5cb8.tar.gz
zsh-9092bf7b53b9e24a5283aeb6dd6950c3238e5cb8.tar.bz2
zsh-9092bf7b53b9e24a5283aeb6dd6950c3238e5cb8.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/ssh-agent/ssh-agent.plugin.zsh')
-rw-r--r--plugins/ssh-agent/ssh-agent.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ssh-agent/ssh-agent.plugin.zsh b/plugins/ssh-agent/ssh-agent.plugin.zsh
index ce0d645c1..0efc4546f 100644
--- a/plugins/ssh-agent/ssh-agent.plugin.zsh
+++ b/plugins/ssh-agent/ssh-agent.plugin.zsh
@@ -1,7 +1,7 @@
# Based on code from Joseph M. Reagle
# http://www.cygwin.com/ml/cygwin/2001-06/msg00537.html
-local SSH_ENV=$HOME/.ssh/environment
+local SSH_ENV=$HOME/.ssh/environment-$HOST
function start_agent {
/usr/bin/env ssh-agent | sed 's/^echo/#echo/' > ${SSH_ENV}