Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Asking ZSH: How are you ?
- X-seq: zsh-users 9072
- From: Christian Taylor <cht@xxxxxxxxx>
- To: "zsh-users" <zsh-users@xxxxxxxxxx>
- Subject: Re: Asking ZSH: How are you ?
- Date: Sat, 9 Jul 2005 18:06:55 +0200
- In-reply-to: <20050709.173732.41643671.Meino.Cramer@xxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050709.165213.74740823.Meino.Cramer@xxxxxx> <20050709151736.GA382@DervishD> <20050709.173732.41643671.Meino.Cramer@xxxxxx>
Meino Christian Cramer wrote:
> > If you want to list all options use
> > 'setopt', without arguments, or 'set -o'. If you want to show ALL
> > options, no matter if they have their default value or not, use this
> > little snippet (for example):
> >
> > for option in ${(ko)options}; print ${(r:21:}option $options[$option]
>
> I pasted that to the commandline (zsh 4.2.5) and pressed <RETURN>. I got
> zsh: error in flags
I believe Raul meant:
for option in ${(ko)options}; print ${(r:21:)option} $options[$option]
Thanks for the tip Raul, I like this better than the "no" prefixes too.
Christian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author