This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
fish-shell
Watch
2
Star
0
Fork
You've already forked fish-shell
0
mirror of
https://github.com/fish-shell/fish-shell
synced
2024-12-26 21:03:12 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
3ec1fab7aa
fish-shell
/
share
/
completions
/
pip.fish
5 lines
59 B
Fish
Raw
Normal View
History
Unescape
Escape
Python's pip and pipenv completions (#4448) * Add pip completion * We call native pip completion for fish if pip is installed * Add pipenv completion * We call pipenv native completion if pipenv is installed * Applied changes as requested by @floam * Changed usage of `test (command -v)` for just `command -sq` * Add completions for pip2/3 * In some systems pip is not aliased and we have pip2 and pip3 * In those cases, we just load the completions for those commands * Separate pip2/3 completions in their own file as requested by @floam
2017-10-05 04:15:41 +00:00
if
command
-sq
pip
pip completions: use builtin source rather than eval function.
2017-10-05 04:50:09 +00:00
pip
completion
--fish
|
source
Python's pip and pipenv completions (#4448) * Add pip completion * We call native pip completion for fish if pip is installed * Add pipenv completion * We call pipenv native completion if pipenv is installed * Applied changes as requested by @floam * Changed usage of `test (command -v)` for just `command -sq` * Add completions for pip2/3 * In some systems pip is not aliased and we have pip2 and pip3 * In those cases, we just load the completions for those commands * Separate pip2/3 completions in their own file as requested by @floam
2017-10-05 04:15:41 +00:00
end
Reference in a new issue
Copy permalink