From: Perry Smith <pedz@easesoftware.com>
To: zzapper <david@rayninfo.co.uk>
Cc: zsh-users@zsh.org
Subject: Re: Change interactive command into a comment
Date: Fri, 15 Nov 2019 07:15:46 -0600 [thread overview]
Message-ID: <946D25E9-A7F0-4FE7-B7D0-8D6169D9CF68@easesoftware.com> (raw)
In-Reply-To: <XnsAB087BAB7A20davidrayninfocouk@195.159.176.226>
[-- Attachment #1: Type: text/plain, Size: 976 bytes --]
> On Nov 15, 2019, at 6:09 AM, zzapper <david@rayninfo.co.uk> wrote:
>
> Perry Smith <pedz@easesoftware.com> wrote in
> news:AE14DF7F-5C34-4D14-A20A-8356C547E114@easesoftware.com:
>
>> 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 #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2966 bytes --]
prev parent reply other threads:[~2019-11-15 13:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-13 18:34 Perry Smith
2019-11-14 1:15 ` Ben Klein
2019-11-14 4:41 ` Danh Doan
2019-11-14 13:19 ` Perry Smith
2019-11-14 15:40 ` Daniel Shahaf
2019-11-14 15:56 ` Danh Doan
2019-11-14 22:21 ` Oliver Kiddle
2019-11-15 12:09 ` zzapper
2019-11-15 13:15 ` Perry Smith [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=946D25E9-A7F0-4FE7-B7D0-8D6169D9CF68@easesoftware.com \
--to=pedz@easesoftware.com \
--cc=david@rayninfo.co.uk \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).