fish-shell/share/completions/pip2.fish
Fabian Boehm b4d9189fd3 Cache pip{,2,3,env} completions
These take a *lot* of time - `pip3` takes 180ms, `pipenv` takes 320ms
on my system.

Note that this removes a number of obsolete workarounds - pip's was
fixed in 2017 (and pip2 is less and less of a thing), pipenv's change
was in 2019.

Since these are packaging tools with access to the internet they
should really be kept up-to-date, so it is unlikely someone still uses
these old versions.
2024-01-21 14:18:50 +01:00

3 lines
115 B
Fish

__fish_cache_sourced_completions pip2 completion --fish 2>/dev/null
or pip2 completion --fish 2>/dev/null | source