Skip to content

Commit

Permalink
Merge branch 'ssh-agent-append-host-to-environment' of https://github…
Browse files Browse the repository at this point in the history
….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 2355649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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}
Expand Down

0 comments on commit 2355649

Please sign in to comment.