mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 13:08:49 +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
|
||||
eval (pip completion --fish)
|
||||
pip completion --fish | source
|
||||
end
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
if command -sq pip2
|
||||
eval (pip2 completion --fish)
|
||||
pip2 completion --fish | source
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
if command -sq pip3
|
||||
eval (pip3 completion --fish)
|
||||
pip3 completion --fish | source
|
||||
end
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
if command -sq pipenv
|
||||
eval (pipenv --completion)
|
||||
pipenv --completion | source
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue