mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
b4d9189fd3
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.
6 lines
352 B
Fish
6 lines
352 B
Fish
_PIPENV_COMPLETE=fish_source __fish_cache_sourced_completions pipenv 2>/dev/null
|
|
or _PIPENV_COMPLETE=fish_source pipenv 2>/dev/null | source
|
|
|
|
# manual workaround for pipenv run command completion until this is supported by the built-in mechanism
|
|
complete -c pipenv -n "__fish_seen_subcommand_from run" -a "(__fish_complete_subcommand --fcs-skip=2)" -x
|