mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
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]
This commit is contained in:
parent
bd8fd9fd0d
commit
aba5beaeb4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue