mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Merge branch 'ssh-agent-append-host-to-environment' of https://github.com/trcjr/oh-my-zsh into trcjr-ssh-agent-append-host-to-environment
This commit is contained in:
commit
23556491e6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue