mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-26 11:45:08 +00:00
pip completions: use builtin source rather than eval function.
This commit is contained in:
parent
1770e47eb0
commit
d740b2a473
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
if command -sq pip
|
if command -sq pip
|
||||||
eval (pip completion --fish)
|
pip completion --fish | source
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
if command -sq pip2
|
if command -sq pip2
|
||||||
eval (pip2 completion --fish)
|
pip2 completion --fish | source
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
if command -sq pip3
|
if command -sq pip3
|
||||||
eval (pip3 completion --fish)
|
pip3 completion --fish | source
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
if command -sq pipenv
|
if command -sq pipenv
|
||||||
eval (pipenv --completion)
|
pipenv --completion | source
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue