updating bash completion check for brew/bash