Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command-cancellation with #
- X-seq: zsh-users 12348
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: command-cancellation with #
- Date: Thu, 20 Dec 2007 19:17:17 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rC3XQOsY12SzSPDk4KwnLlw+gCnztOMlD7vQL4L25vE=; b=HEuP1diCNrgwPfmSAVFv7r45NH/A0RjYBsT3RT9ATsj0b2heaUDdub/7Rtm0anjTt9JlY6hak4CuL8FL7iWZG9/hDsVBZTqV4LUQ8dcNxrgOiFd80H/wYqRMdpjbyEpIFQxuMMR3hXcS6Q1ur1MecmnaX9G0xc5gedr5zxaYUBA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i+lMM8md9eaApDF8ztbSzM7exKyJZbis4YpaKYYlF0NxAmSuUrjgVBopDb4M9HAvcB4RlOpbTjJzbDb/EZvvj7xV6AmN8o8MZ4u9X3n4q7pxVWYHl9YvF1GpWhKO1pDNfp8HhGFNXqkjOPI1v7APQ4EGTFewhMT1zICkdROa+HM=
- 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>
On 20/12/2007, Micah Elliott <mde@xxxxxxxxxxxxxxxx> wrote:
> 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).
You also have to know that the manpage lists options with _ randomly
interspersed in the names. In this case interactive_comments. Or you
could just search for "comments". The entry for vi-pound-insert also
mentions it (this is the keybind you used).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author