Remove missing "Compopt"

Removing "compopt", missing on certain configuration and replace it by parameters ine "compgen"