Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
compgen-like functionality
- X-seq: zsh-users 12996
- From: brian <brianchina60221@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: compgen-like functionality
- Date: Wed, 2 Jul 2008 03:45:20 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=AjGSib8X/DwR4YYyf4AmaCzcWRPH2suaMVA+7wvnS+o=; b=opHJCufbtahyVadBFMLT2RG5jQaWw43brInBSeeSWcgs1H+xDlAopYtfuSF0oocLMe F1yhoEKG1lUBJd+wSw048Ljfg3vgZNfkAUAT3vdpRgfdHV23+wpYG3YsqOwK67MqYarn b3pix98ADc1Q0mcnNNSg91v2msHl9FZByBSc0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=q8P+DacnJjCsvbxhYDmNLRkAjQghfHmDgnrKmq4w/fV+EwZKZyV5EPGPw7gxN731+v vUIkKjzGD268oCPPM7nsAoqjFnsap74d+T6F5IdbydQRT3Cd1gEEqcdUyAH6YjJbNmuu IgQ5Y+CPG+4kXpFqJxSvk1BVdWX5v4PdzKdUI=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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