Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command-cancellation with #
- X-seq: zsh-users 12344
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: command-cancellation with #
- Date: Thu, 20 Dec 2007 19:02:21 +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=AhEqPSWf/LfdGPtTz0OJ9LVLXDUCQ6AEI1qPzRxiAlo=; b=c3Lb+pvmmu84xRAo0PMiFGo+i+fWbGZbGIw2PWA8Qv7DvhIKfc630G9pvHcAZ65uUw3mBjFioIIyU2S6/RmSfLK/IA5R3w84x55j8HrBsLkwn6DtNaUtf4jX+jr/WIcpEiLp/PEDKRwl19/cfuA3lssgrerMp8zvWspgnvyBkTE=
- 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=W49H4x4tLkTiFN0j/Jbl+aPBkh40mr5QKd76336scE15QMk4x4IgREuhz25SZhBYOlE5Z/2WKru2Khb08ORehJpY7KO8oYifhwxZYKmZHvBoaOYIsKUSXzOmR0gDFEhlxULDjZ90oaM+RwMpd3SrkQI2gDA1/NvQTRjDVca9/zo=
- In-reply-to: <20071220175536.GE14122@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071220175536.GE14122@xxxxxxxxxxxxxxxx>
On 20/12/2007, Micah Elliott <mde@xxxxxxxxxxxxxxxx> wrote:
> I'm evaluating the possibility of a move to zsh from bash for
> everyday work. First question...
>
> I operate in vi-mode. I frequently use this sequence to
> interrupt and save a command I'm in the middle of typing: <Esc>#
>
> This simply puts the incomplete command into my history for later
> recall. When I do this in zsh I get this error:
>
> $ #ls foo
> zsh: bad pattern: #ls
>
> Is there a way to make this work in zsh the way it does in bash?
setopt interactivecomments
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author