check for brew before using its path to check bash completion