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