Avoiding re-sourcing of bash completion based on presence of a different (more likely present) completion.

main
Dan Buch 12 years ago
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…
Cancel
Save