Browse Source

ssh-agent plugin now ends in "-$HOST" so an agent is started properly with nfs shared homes.

Theodore Robert Campbell Jr 14 years ago
parent
commit
477749a0af
  1. 2
      plugins/ssh-agent/ssh-agent.plugin.zsh

2
plugins/ssh-agent/ssh-agent.plugin.zsh

@ -1,7 +1,7 @@
# Based on code from Joseph M. Reagle # Based on code from Joseph M. Reagle
# http://www.cygwin.com/ml/cygwin/2001-06/msg00537.html # 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 { function start_agent {
/usr/bin/env ssh-agent | sed 's/^echo/#echo/' > ${SSH_ENV} /usr/bin/env ssh-agent | sed 's/^echo/#echo/' > ${SSH_ENV}

Loading…
Cancel
Save