From d740b2a4734e7a5414564b14480ea52a0c4f9694 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Wed, 4 Oct 2017 21:50:09 -0700 Subject: [PATCH] pip completions: use builtin source rather than eval function. --- share/completions/pip.fish | 2 +- share/completions/pip2.fish | 2 +- share/completions/pip3.fish | 2 +- share/completions/pipenv.fish | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/share/completions/pip.fish b/share/completions/pip.fish index 52332f599..381d3feaa 100644 --- a/share/completions/pip.fish +++ b/share/completions/pip.fish @@ -1,4 +1,4 @@ if command -sq pip - eval (pip completion --fish) + pip completion --fish | source end diff --git a/share/completions/pip2.fish b/share/completions/pip2.fish index a0297f081..51284c455 100644 --- a/share/completions/pip2.fish +++ b/share/completions/pip2.fish @@ -1,3 +1,3 @@ if command -sq pip2 - eval (pip2 completion --fish) + pip2 completion --fish | source end diff --git a/share/completions/pip3.fish b/share/completions/pip3.fish index 25b1918e3..10c525927 100644 --- a/share/completions/pip3.fish +++ b/share/completions/pip3.fish @@ -1,3 +1,3 @@ if command -sq pip3 - eval (pip3 completion --fish) + pip3 completion --fish | source end diff --git a/share/completions/pipenv.fish b/share/completions/pipenv.fish index fce46933c..83f93f3ce 100644 --- a/share/completions/pipenv.fish +++ b/share/completions/pipenv.fish @@ -1,3 +1,3 @@ if command -sq pipenv - eval (pipenv --completion) + pipenv --completion | source end