pip completions: use builtin source rather than eval function.

This commit is contained in:
Aaron Gyes 2017-10-04 21:50:09 -07:00
parent 1770e47eb0
commit d740b2a473
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
if command -sq pip
eval (pip completion --fish)
pip completion --fish | source
end

View file

@ -1,3 +1,3 @@
if command -sq pip2
eval (pip2 completion --fish)
pip2 completion --fish | source
end

View file

@ -1,3 +1,3 @@
if command -sq pip3
eval (pip3 completion --fish)
pip3 completion --fish | source
end

View file

@ -1,3 +1,3 @@
if command -sq pipenv
eval (pipenv --completion)
pipenv --completion | source
end