Added test for brew before adding brew based completions to bash profile.

Signed-off-by: Kevin Stone <kevinastone@gmail.com>