Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command-cancellation with #
- X-seq: zsh-users 12347
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Micah Elliott <mde@xxxxxxxxxxxxxxxx>
- Subject: Re: command-cancellation with #
- Date: Thu, 20 Dec 2007 12:17:00 -0600
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20071220181259.GG14122@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071220175536.GE14122@xxxxxxxxxxxxxxxx> <237967ef0712201002j763fd446se54c7a2b0e2cfff0@xxxxxxxxxxxxxx> <20071220181259.GG14122@xxxxxxxxxxxxxxxx>
In the last episode (Dec 20), Micah Elliott said:
> On 2007-12-20 Mikael Magnusson wrote:
> > On 20/12/2007, Micah Elliott <mde@xxxxxxxxxxxxxxxx> wrote:
> > > $ #ls foo
> > > zsh: bad pattern: #ls
> > >
> > > Is there a way to make this work in zsh the way it does in bash?
> >
> > setopt interactivecomments
>
> Great, that works. Thanks!
>
> Is there some way I could have discovered that? I don't see it in
> zshall(1). I do see that it (and a few others) are set now by
> running 'setopt', but it would be nice to know what all the available
> options are (which aren't in the manpage).
people on the list like to use the lowercased non-delimited form of
setopts, but the manpage referes to them in caps and with underscores.
So it would be under INTERACTIVE_COMMENTS, but you might not have found
it anyway, since the description is pretty short:
INTERACTIVE_COMMENTS (-k) <K> <S>
Allow comments even in interactive shells.
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author