Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
d57131dc
Unverified
Commit
d57131dc
authored
Nov 20, 2020
by
Septs
Committed by
GitHub
Nov 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(shell-proxy): change NAME env variable for WSL clash (#9447)
parent
e92a4667
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
proxy.py
plugins/shell-proxy/proxy.py
+1
-1
ssh-agent.py
plugins/shell-proxy/ssh-agent.py
+1
-1
No files found.
plugins/shell-proxy/proxy.py
View file @
d57131dc
...
...
@@ -30,7 +30,7 @@ def merge(mapping: dict):
class
CommandSet
:
proxies
=
make_proxies
(
get_http_proxy
())
aliases
=
{
_
:
"env
NAME
=
%
s
%
s"
%
(
_
,
ssh_agent
)
_
:
"env
__SSH_PROGRAM_NAME__
=
%
s
%
s"
%
(
_
,
ssh_agent
)
for
_
in
(
"ssh"
,
"sftp"
,
"scp"
,
"slogin"
,
"ssh-copy-id"
)
}
...
...
plugins/shell-proxy/ssh-agent.py
View file @
d57131dc
...
...
@@ -6,7 +6,7 @@ import sys
ssh_proxy
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"ssh-proxy.py"
)
argv
=
[
os
.
environ
.
get
(
"
NAME
"
,
"ssh"
),
os
.
environ
.
get
(
"
__SSH_PROGRAM_NAME__
"
,
"ssh"
),
"-o"
,
"ProxyCommand={}
%
h
%
p"
.
format
(
ssh_proxy
),
"-o"
,
...
...
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