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

compgen-like functionality



xmonad, a tiling window manager, currently uses bash compgen(1) for
tab completion in one of its extensions, a prompt for running
commands. Is there a way to get zsh to do something like compgen so it
can be used by other programs? I think the desired interface would be
something like zsh-compgen 'some string' prints lines to stdout
consisting of the possible completions you'd see if you typed 'some
string<tab>'. Thanks.



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