This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
fish-shell
Watch
2
Star
0
Fork
0
You've already forked fish-shell
mirror of
https://github.com/fish-shell/fish-shell.git
synced
2024-12-22 16:23:55 +08:00
Code
Issues
Actions
2
Packages
Projects
Releases
Wiki
Activity
ea2934e644
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 12:15:41 +08:00
if
command
-sq
pip
pip completions: use builtin source rather than eval function.
2017-10-05 12:50:09 +08: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 12:15:41 +08:00
end
Reference in New Issue
Copy Permalink