zsh-users
 help / color / mirror / code / Atom feed
From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Unterminated for loop
Date: Wed, 7 Jun 2023 10:13:36 +0200	[thread overview]
Message-ID: <CAN=4vMq8=aG+bwLeXuTn0UU0uQ0GZM5kwdSBxxH69c4=6OHWCA@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7aQS5us9O8tQbQxzY1PSGz=U1aHK1gvZUN9ZU0owX=e2w@mail.gmail.com>

On Wed, Jun 7, 2023 at 4:59 AM Bart Schaefer <schaefer@brasslantern.com> wrote:
>
> Someone please remind me what this sentence under IGNORE_EOF means?
>      Also, if this option is set and the Zsh Line Editor is used,
>      widgets implemented by shell functions can be bound to EOF
>      (normally Control-D) without printing the normal warning message.
>
> I guess "bound to EOF" means overriding the stty EOF character.
> What's the significance of the part about the warning message?

It means you can do this:

  setopt ignore_eof
  bindkey '^D' my-eof

I do this in my zsh config.

Roman.


  parent reply	other threads:[~2023-06-07  8:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-06 18:46 Roman Perepelitsa
2023-06-06 23:12 ` Mikael Magnusson
2023-06-07  2:58   ` Bart Schaefer
2023-06-07  5:43     ` Jun T
2023-06-07  8:13     ` Roman Perepelitsa [this message]
2023-06-07 15:20     ` Ray Andrews

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='CAN=4vMq8=aG+bwLeXuTn0UU0uQ0GZM5kwdSBxxH69c4=6OHWCA@mail.gmail.com' \
    --to=roman.perepelitsa@gmail.com \
    --cc=schaefer@brasslantern.com \
    --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).