Browse code

Merge branch 'ssh-agent-append-host-to-environment' of https://github.com/trcjr/oh-my-zsh into trcjr-ssh-agent-append-host-to-environment

Robby Russell authored on 16/03/2011 at 15:05:19
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 # Based on code from Joseph M. Reagle
2 2
 # http://www.cygwin.com/ml/cygwin/2001-06/msg00537.html
3 3
 
4
-local SSH_ENV=$HOME/.ssh/environment
4
+local SSH_ENV=$HOME/.ssh/environment-$HOST
5 5
 
6 6
 function start_agent {
7 7
   /usr/bin/env ssh-agent | sed 's/^echo/#echo/' > ${SSH_ENV}