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

Re: command-cancellation with #



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