mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
pip completions: use builtin source rather than eval function.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user