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-11-23 22:51:13 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
06f832aae1
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 12:15:41 +08: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 17:32:18 +08: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 12:15:41 +08:00
end
Reference in New Issue
Copy Permalink