#compdef -p */X11/* # A simple pattern completion, just as an example. compgen -J options -k '(-display -name -xrm)'