diff --git a/share/completions/pip2.fish b/share/completions/pip2.fish index 7558d988b..6a4dc1c78 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 + pip2 completion --fish | sed 's/-c pip$/-c pip2/' | source end diff --git a/share/completions/pip3.fish b/share/completions/pip3.fish index 9f874bf93..e2078c761 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 | sed 's/-c pip$/-c pip3/' | source end