mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 01:36:39 +08:00
b11ca2c01c
Work around bug pypa/pip#4755 Don't expect all users to be running a version of pip2/3 that includes the fix (once it's upstreamed). Will continue to work if/when pip2/3 emit the correct output. pip is already very slow at printing the completions (see #4448) so the `sed` call overhead is neglible.
4 lines
86 B
Fish
4 lines
86 B
Fish
if command -sq pip3
|
|
pip3 completion --fish | sed 's/-c pip/-c pip3/' | source
|
|
end
|