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

Re: command-cancellation with #



On 21/12/2007, Geoff Wing <gcw@xxxxxxx> wrote:
>
> % setopt kshoptionprint
> % setopt
>
> will list all the options and their states.  And they should all
> be in the man page.

If one is bored, it's also possible to come up with
for a in ${(i)${options[(I)*]}};do echo ${(r:22:)a}$options[$a]; done
(I also note this doesn't print the same set of options as setopt does
with kshoptionprint set.)

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author