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
e83b70f2
Commit
e83b70f2
authored
Apr 08, 2019
by
Fabricio Biazzotto
Committed by
Marc Cornellà
Apr 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pip: fix indexes URL (#6986)
Fixes #6981.
parent
0c000af7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pip.plugin.zsh
plugins/pip/pip.plugin.zsh
+2
-2
No files found.
plugins/pip/pip.plugin.zsh
View file @
e83b70f2
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
# "zsh-pip-clear-cache".
# "zsh-pip-clear-cache".
ZSH_PIP_CACHE_FILE
=
~/.pip/zsh-cache
ZSH_PIP_CACHE_FILE
=
~/.pip/zsh-cache
ZSH_PIP_INDEXES
=(
https://pypi.
python.
org/simple/
)
ZSH_PIP_INDEXES
=(
https://pypi.org/simple/
)
zsh-pip-clear-cache
()
{
zsh-pip-clear-cache
()
{
rm
$ZSH_PIP_CACHE_FILE
rm
$ZSH_PIP_CACHE_FILE
...
@@ -31,7 +31,7 @@ zsh-pip-cache-packages() {
...
@@ -31,7 +31,7 @@ zsh-pip-cache-packages() {
tmp_cache
=
/tmp/zsh_tmp_cache
tmp_cache
=
/tmp/zsh_tmp_cache
for
index
in
$ZSH_PIP_INDEXES
;
do
for
index
in
$ZSH_PIP_INDEXES
;
do
# well... I've already got two problems
# well... I've already got two problems
curl
$index
2>/dev/null |
\
curl
-L
$index
2>/dev/null |
\
zsh-pip-clean-packages
\
zsh-pip-clean-packages
\
>>
$tmp_cache
>>
$tmp_cache
done
done
...
...
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