better bash_completion check