Actually, it looks like you can just add this to the top of bash_completion:
# Only run if shell is interactive. if [[ $- != *i* ]] ; then return fi
Ciao!
Actually, it looks like you can just add this to the top of bash_completion:
# Only run if shell is interactive.
if [[ $- != *i* ]] ; then
return
fi
Ciao!