1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

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

This commit is contained in:
Theodore Robert Campbell Jr 2011-03-01 00:21:49 -05:00
parent 746a10368a
commit 9d991a5080

View file

@ -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}