9d991a5080bea5c71e1b5f6838d5498c908c434b

Author
Theodore Robert Campbell Jr <trcjr@stupidfoot.com>
Committer
Theodore Robert Campbell Jr <trcjr@stupidfoot.com>
Date

Message

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

Diff

 1diff --git a/plugins/ssh-agent/ssh-agent.plugin.zsh b/plugins/ssh-agent/ssh-agent.plugin.zsh
 2index ce0d645c1c00ae3494aeeb5ff1f0ebd334b00955..0efc4546f98767de768bef86e9e34169935c4c13 100644
 3--- a/plugins/ssh-agent/ssh-agent.plugin.zsh
 4+++ b/plugins/ssh-agent/ssh-agent.plugin.zsh
 5@@ -1,7 +1,7 @@
 6 # Based on code from Joseph M. Reagle
 7 # http://www.cygwin.com/ml/cygwin/2001-06/msg00537.html
 8 
 9-local SSH_ENV=$HOME/.ssh/environment
10+local SSH_ENV=$HOME/.ssh/environment-$HOST
11 
12 function start_agent {
13   /usr/bin/env ssh-agent | sed 's/^echo/#echo/' > ${SSH_ENV}