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-30 14:53:11 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
59197d12e0
fish-shell
/
share
/
completions
/
pipenv.fish
4 lines
71 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
pipenv
[pip* completions] Silence stderr For some reason, these tools print an upgrade message to stderr, even when stdout goes somewhere else.
2018-05-03 09:32:18 +00:00
pipenv
--completion
2
>
/dev/null
|
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