only source extant files for bash completion

This commit is contained in:
Jeffrey Paul 2016-10-19 18:29:12 -04:00
parent 7092b00739
commit 1e4249b192
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,8 @@
# bash completion for awscli
if which aws_bash_completer 2>&1 >/dev/null; then
source `which aws_bash_completer`
fi
# bash completion for elastic beanstalk
if which eb_completion.bash 2>&1 >/dev/null; then
source `which eb_completion.bash`
fi