Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Globbing on what the completion function would suggest?
- X-seq: zsh-users 13348
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- Subject: Re: Globbing on what the completion function would suggest?
- Date: Sun, 19 Oct 2008 22:19:28 +0200
- Cc: zsh-users <zsh-users@xxxxxxxxxx>
- 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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=M2xSUgMjBI03srJe5CS+9Vt4BgKrildop55mkl7gztI=; b=XjUmltKK+tunerqynsbh9E6M0NxSXT1yfPKFWWakR73WdjYZsyCZ4oRLytqQkfFmJI hX/9Cs9Iy8ClvEywo/fNXz6so2OndKBlj2c1MyTp7CO1Kovec9TOagxYPbxqu3QX4Hm4 yAaI20YFvidN4WNMLvdwtqXy67CFtPwSkWKbU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=GV2OjNg0Z5P1S7You+3Z0ZsDcUMOs+tJTbDwX9LirIF0rP9GhnYwgamnm47pjkrblM horB6Ub3OFhveJyawtMxcaKN4oqfIYEntRSISvDBQzsYjC+Sxws6a5m1DvqF8sjG5WAh 7fqUlYpnGXG/5MHfxA+273SFVYvILo4q63bFM=
- In-reply-to: <2d460de70810191312x4d9cedfm48e1b24e19aa51b6@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70810191312x4d9cedfm48e1b24e19aa51b6@xxxxxxxxxxxxxx>
2008/10/19 Richard Hartmann <richih.mailinglist@xxxxxxxxx>:
> Hi all,
>
> I want to do the following (pseudocode):
>
> apt-cache show expand_completion(*foo*)
>
> where *foo* globbing on what the completion would suggest,
> at this point. Unfortunately, I could not figure it out, by
> myself.
I don't know if I've done anything special, but for example if I do
ls --[ab]<tab>, i get
---- option
--all -- do not ignore entries starting with .
--almost-all -- do not list implied . and ..
--author -- with -l, print the author of each file
--block-size -- use SIZE-byte blocks
I can't test the show completion since I don't use debian, but
apt-cache [md]*<tab> behaves the same way.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author