Permalink
Browse files

Merge branch 'ssh-agent-append-host-to-environment' of https://github…

….com/trcjr/oh-my-zsh into trcjr-ssh-agent-append-host-to-environment
  • Loading branch information...
robbyrussell committed Mar 16, 2011
2 parents bb3414e + 9d991a5 commit 23556491e66ab0229034681e1cce8481936e7e7b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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}

0 comments on commit 2355649

Please sign in to comment.