Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: trying completion of varying data



> I tried
>  zstyle ':completion:*:*:xvncviewer:*' command 'show.active.pcs'
>       (where show.active.pcs does the above)
> but it doesn't even try to call the show.active.pcs script.

I think you want something more along the lines of

zstyle ':completion:*:xvncviewer:*:hosts' hosts $(show.active.pcs)

or

zstyle -e ':completion:*:xvncviewer:*:hosts' hosts 'reply=( $(show.active.pcs) )'



Messages sorted by: Reverse Date, Date, Thread, Author