From aba5beaeb45b53dbdcbc7b6fb52e5651e5befb93 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 25 Dec 2019 16:16:08 +0100 Subject: [PATCH] completions/pipenv: Force it to print fish completions This checks $SHELL to determine which completions to print, and $SHELL is typically set by your login program. So if the login shell isn't fish, this will print the wrong completions. Fixes #6454 [ci skip] --- share/completions/pipenv.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/completions/pipenv.fish b/share/completions/pipenv.fish index 943b44d2b..7d5c2941d 100644 --- a/share/completions/pipenv.fish +++ b/share/completions/pipenv.fish @@ -1,3 +1,4 @@ if command -sq pipenv - pipenv --completion 2>/dev/null | source + # pipenv determines which completions to print via $SHELL, so override it for this. + SHELL=(status fish-path) pipenv --completion 2>/dev/null | source end