Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command-cancellation with #
- X-seq: zsh-users 12349
- From: Peter Stephenson <pws@xxxxxxx>
- To: Micah Elliott <mde@xxxxxxxxxxxxxxxx>
- Subject: Re: command-cancellation with #
- Date: Thu, 20 Dec 2007 18:17:13 +0000
- 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>
Micah Elliott wrote:
> > 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).
Options are there, but when searching you run foul of the fact that they
have underscores in for reading clarity (INTERACTIVE_COMMENTS). In this
case, the zshzle manual will warn you about this...
pound-insert (unbound) (#) (unbound)
If there is no # character at the beginning of the buffer, add
one to the beginning of each line. If there is one, remove a #
from each line that has one. In either case, accept the current
line. The INTERACTIVE_COMMENTS option must be set for this to
have any usefulness.
vi-pound-insert
If there is no # character at the beginning of the current line,
add one. If there is one, remove it. The INTERACTIVE_COMMENTS
option must be set for this to have any usefulness.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author