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-04 09:13:39 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
0c21efea55
fish-shell
/
share
/
completions
/
pip3.fish
4 lines
87 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
pip3
fixup! Force correct names for pip2/pip3 command in completions (cherry picked from commit af12bcb117a3cb7330aff37acadcefba7e1abd38)
2017-10-05 19:11:14 +08:00
pip3
completion
--fish
|
sed
's/-c pip$/-c pip3/'
|
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