Commit Graph

11 Commits (23671ef4f364c46546f18d8b8331f4e4ae2d17c3)

Author SHA1 Message Date
Hongyi Zhao cfe7166132 Based on the _pip_completion function defined by pip completion to determine
whether we should reevaluate the pip completion or not.
2020-03-14 23:37:21 +08:00
Hongyi Zhao db64f5521c FIXME: do the trick without exporting variable into environment.
Use _pip_completion_bash as the hook function name
2020-03-13 19:56:56 +08:00
Hongyi Zhao e6be506ce1 use _pip_command_path as the variable name to store the currently used pip's path. 2020-03-13 17:18:10 +08:00
Hongyi Zhao 4fe6611da2 use _pip_command_path_old for variable's name to store the pip's path:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 17:05:10 +08:00
Hongyi Zhao 43d15b69e1 Ensure that the eval command only executed once for one virutualenv:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 16:43:35 +08:00
Hongyi Zhao 5c663b871a little fix for the regex used to match the hook function name:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 15:24:35 +08:00
Hongyi Zhao 1052200f0c Touchup codes for fixing pip completion when running it within/outside of pyenv/virtualenv/venv/conda environment:
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 15:00:23 +08:00
Hongyi Zhao cd0b2618fb Fix pip completion for running it within/outside of pyenv/virtualenv/venv/conda environment.
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-03-13 10:21:26 +08:00
Hongyi Zhao d54577f992 touch up
modified:   completion/available/pip.completion.bash
modified:   completion/available/pip3.completion.bash
2020-01-09 23:41:04 +08:00
Hongyi Zhao d85a254429 Fix the completion for pip/pip3 2020-01-09 23:20:28 +08:00
LanikSJ 7d11a9d935
Adding pip3 completion 2017-03-06 16:04:42 -08:00