mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 07:16:24 +08:00

"To assume" and such. It doesn't check $SHELL, so it might have some other automagic that can fail (probably still because of the login shell, but I have no idea). Override the special variable that click-completion (https://github.com/click-contrib/click-completion) uses to force it instead. Really fixes #6454. [ci skip]
6 lines
228 B
Fish
6 lines
228 B
Fish
if command -sq pipenv
|
|
# pipenv determines which completions to print via some automagic that might not be perfect.
|
|
# Force it to be correct.
|
|
_PIPENV_COMPLETE=source-fish pipenv --completion 2>/dev/null | source
|
|
end
|