Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
9d991a50
Commit
9d991a50
authored
Mar 01, 2011
by
Theodore Robert Campbell Jr
Browse files
ssh-agent plugin now ends in "-$HOST" so an agent is started properly with nfs shared homes.
parent
746a1036
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/ssh-agent/ssh-agent.plugin.zsh
View file @
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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment