little fix for the regex used to match the hook function name:
modified: completion/available/pip.completion.bash modified: completion/available/pip3.completion.bashpull/1518/head
parent
1052200f0c
commit
5c663b871a
|
|
@ -7,7 +7,7 @@
|
|||
# you should first install pip for the corresponding environment.
|
||||
|
||||
# Fix pip completion for running it within/outside of pyenv/virtualenv/venv/conda environment.
|
||||
_regex="(^|[ ]|;)_pip_completion_hook(;|[ ]|$)"
|
||||
_regex="(^|;[ ]*)_pip_completion_hook([ ]*;|$)"
|
||||
|
||||
_pip_completion_hook() {
|
||||
local _pip
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
# you should first install pip for the corresponding environment.
|
||||
|
||||
# Fix pip completion for running it within/outside of pyenv/virtualenv/venv/conda environment.
|
||||
_regex="(^|[ ]|;)_pip_completion_hook(;|[ ]|$)"
|
||||
_regex="(^|;[ ]*)_pip_completion_hook([ ]*;|$)"
|
||||
|
||||
_pip_completion_hook() {
|
||||
local _pip
|
||||
|
|
|
|||
Loading…
Reference in New Issue