Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Change interactive command into a comment
- X-seq: zsh-users 24441
- From: Perry Smith <pedz@xxxxxxxxxxxxxxxx>
- To: zzapper <david@xxxxxxxxxxxxxx>
- Subject: Re: Change interactive command into a comment
- Date: Fri, 15 Nov 2019 07:15:46 -0600
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=References:To:Cc:In-Reply-To:Date:Subject: Mime-Version:Content-Type:Message-Id:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Qd4UYso5G16BXkutS4Ne7lZSkYYdUder7bd2XpMHKS4=; b=l7lTjY4u1K1s3XlmSmMKqnzRL gqljJuW9bHtpmTEKHumDyCWMMVABkg/KUTzYeKFJIS7LpFXfLa2LCXMIz9y3VYCvJE8orqGFXjNeW w+7wSHClj2wzUkM6ML9Y/mTwn+yyGqNqycCG3je/sL7f53b90zLf3/qI+Gi8YhZstfbsFlMzA8wW6 QAuz1OB6Js0gb1bg8gnmtXeJI8gcsfpzSQ17gIA3SRupbkmiHJ6OpzYNXBctADvA+rsrPOoF+lfbh 6TQfLQvJuiCDD79PiViVVQtaROn09w2ioq9wtDZLPF86oyl7wU8yK5VWLDmJG2bzs/zk3c7YsD1c0 nxBU6OghA==;
- In-reply-to: <XnsAB087BAB7A20davidrayninfocouk@195.159.176.226>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <AE14DF7F-5C34-4D14-A20A-8356C547E114@easesoftware.com> <XnsAB087BAB7A20davidrayninfocouk@195.159.176.226>
> On Nov 15, 2019, at 6:09 AM, zzapper <david@xxxxxxxxxxxxxx> wrote:
>
> Perry Smith <pedz@xxxxxxxxxxxxxxxx> wrote in
> news:AE14DF7F-5C34-4D14-A20A-8356C547E114@xxxxxxxxxxxxxxxx:
>
>> I found INTERACTIVE_COMMENTS but now I Tm curious, what is zsh trying
>> to do with a line starting with # ? e.g. # echo dog
>
> There is also bultin to zsh & bash
>
> <meta>#
>
> which will autmatically insert # before current command and carriage return
>
> on my system the meta key is Alt.
>
> and yes i always want
>
> setopt interactivecomments # allows end of command line comments
Part of my dive into zsh is I changed my keyboard layout. Leaving out
all the details, I moved my "meta" key from the command key to the
option key (I'm on a Mac). That has ground my emacs using to be very
slow and awkward but I'm slowly adapting. I wanted the change because
I wanted e.g. back-word to be the same in emacs and the Terminal.
pedz
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author