Commit 23556491 authored by Robby Russell's avatar Robby Russell
Browse files

Merge branch 'ssh-agent-append-host-to-environment' of...

Merge branch 'ssh-agent-append-host-to-environment' of https://github.com/trcjr/oh-my-zsh into trcjr-ssh-agent-append-host-to-environment
parents bb3414ec 9d991a50
# 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}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment