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
b2376c37
Commit
b2376c37
authored
Nov 04, 2013
by
Robby Russell
Browse files
Merge pull request #1529 from aquaplanet/fix-sshagent-openbsd
Fix ssh-agent plugin for OpenBSD, making it more portable
parents
0d36ecfe
1f4bb8de
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/ssh-agent/ssh-agent.plugin.zsh
View file @
b2376c37
...
...
@@ -57,7 +57,7 @@ if [[ ${_plugin__forwarding} == "yes" && -n "$SSH_AUTH_SOCK" ]]; then
elif
[
-f
"
${
_plugin__ssh_env
}
"
]
;
then
# Source SSH settings, if applicable
.
${
_plugin__ssh_env
}
>
/dev/null
ps
-
ef
|
grep
${
SSH_AGENT_PID
}
|
grep
ssh-agent
$
>
/dev/null
||
{
ps
-
x
|
grep
${
SSH_AGENT_PID
}
|
grep
ssh-agent
>
/dev/null
||
{
_plugin__start_agent
;
}
else
...
...
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