Zsh Mailing List Archive
Messages sorted by:
Re: Is it possible to list all styles in all contexts?
- X-seq: zsh-users 12745
- From: "Ian Tegebo" <ian.tegebo@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Is it possible to list all styles in all contexts?
- Date: Fri, 28 Mar 2008 15:58:45 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=qPeuq5ckC0d7yGXFfPo2Kvq90oMXwL9RUd7v2/Z48lM=; b=EpUgZlVPegvGleNePYLaYcCxPmNxJ3STvyQpqbRf+qALy2ayFR596IZQCjfovVqWwpFf3qnRk3tbBcnhI85cLEVOernbdxwiOpGmh5UiY8aCOsuMckxckP6O6NJ2m/rECH+FouDoI/JVACc/XndtCpTuPcc7fdhoBDDin9zT/Rk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LndSNG4qfMm3/cw7TaNW4oBLlllVF/MJthBb8laGZb2yTRRPcty1PhbNnFid19hvTS8ONVKLxJOMYl5UbtU/7jy7dbEvfL0nDrQfV+rJHLbIioNzROlwtO0Rkefu0Lj66/AukzawGzaL4y/ZYrwJfJlsPDtXcFP6yDdPBKl7bNY=
- In-reply-to: <200803282246.m2SMkIkJ003308@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ian.tegebo@xxxxxxxxx> <c21da7250803281518y2757f519p8cd1dddb7fe667c2@xxxxxxxxxxxxxx> <200803282246.m2SMkIkJ003308@xxxxxxxxxxxxxxxxxxx>
On Fri, Mar 28, 2008 at 3:46 PM, Peter Stephenson
> "Ian Tegebo" wrote:
> > I've been using zsh for a while and am now trying to learn enough to write
> > completions. It seems one needs to understand and lookup styles quite
> > well so my natural inclination is to list them all and then
> > browse/experiment.
> > Intuitively, I think I should be able to list them all with:
> > zstyle -L "*"
> > But only one result for 'sudo' is returned, presumably added by my
> > distribution.
> `zstyle -L "*"' does indeed list everything, at least if you have a
> recent version of the shell (it looks like I added it in 4.3.3 because,
> as you say, it's intuitive). Before that arguments to `zstyle -L'
> weren't useful, but `zstyle -L' with no argument would list everything.
I'm running 4.3.4. I su to my user who doesn't have a .zshrc and rerun
'zstyle -L' only to see now two results; how many should I be expecting?
> If you want a more processed format, rather than the lines you need to
> feed back to the shell to reproduce the state, then just run `zstyle'.
This was similar to 'zstyle -L' for me, in that only two results were
returned; is there something else I should check?
Messages sorted by: