fixup! Force correct names for pip2/pip3 command in completions

(cherry picked from commit af12bcb117)
This commit is contained in:
Mahmoud Al-Qudsi 2017-10-05 13:11:14 +02:00
parent 3f9273cc32
commit 0c21efea55
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,3 @@
if command -sq pip2
pip2 completion --fish | sed 's/-c pip/-c pip2/' | source
pip2 completion --fish | sed 's/-c pip$/-c pip2/' | source
end

View file

@ -1,3 +1,3 @@
if command -sq pip3
pip3 completion --fish | sed 's/-c pip/-c pip3/' | source
pip3 completion --fish | sed 's/-c pip$/-c pip3/' | source
end