mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 02:27:28 +08:00
8 lines
334 B
Fish
8 lines
334 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
|
|
|
|
complete -c pipenv -n "__fish_seen_subcommand_from run" -a "(__fish_complete_subcommand --fcs-skip=2)" -x
|