diff --git a/share/completions/pip2.fish b/share/completions/pip2.fish index 6a4dc1c78..76d3a1465 100644 --- a/share/completions/pip2.fish +++ b/share/completions/pip2.fish @@ -1,3 +1,3 @@ if command -sq pip2 - pip2 completion --fish | sed 's/-c pip$/-c pip2/' | source + pip3 completion --fish | string replace -r "\b-c\s+pip\b" -- "-c pip2" | source end diff --git a/share/completions/pip3.fish b/share/completions/pip3.fish index e2078c761..fd12cc224 100644 --- a/share/completions/pip3.fish +++ b/share/completions/pip3.fish @@ -1,3 +1,3 @@ if command -sq pip3 - pip3 completion --fish | sed 's/-c pip$/-c pip3/' | source + pip3 completion --fish | string replace -r "\b-c\s+pip\b" -- "-c pip3" | source end