Avoiding re-sourcing of bash completion based on presence of a different (more likely present) completion.
This commit is contained in:
parent
a87973d159
commit
43bd86588c
@ -486,7 +486,7 @@ _count_args()
|
||||
_source_local_bash_completion()
|
||||
{
|
||||
# source completion directory definitions
|
||||
if [ -n "$(complete | grep "post-review")" ]
|
||||
if [ -n "$(complete | grep "__proj_activate")" ]
|
||||
then
|
||||
return 2
|
||||
fi
|
||||
@ -510,5 +510,4 @@ _source_local_bash_completion()
|
||||
_source_local_bash_completion
|
||||
unset _source_local_bash_completion
|
||||
|
||||
|
||||
# vim:filetype=sh
|
||||
|
Loading…
Reference in New Issue
Block a user