mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-02 16:04:05 +08:00
8 lines
397 B
Fish
8 lines
397 B
Fish
if command -sq pip2
|
|
# pip[2|3] emits (or emitted) completions with the wrong command name
|
|
# See discussion at https://github.com/fish-shell/fish-shell/pull/4448
|
|
# and pip bug at https://github.com/pypa/pip/pull/4755
|
|
# Keep this even after pip fix is upstreamed for users not on the latest pip
|
|
pip2 completion --fish | string replace -r "\b-c\s+pip\b" -- "-c pip2" | source
|
|
end
|