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

Re: Asking ZSH: How are you ?



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