zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [Fixed Hardwrap][BUG] Pipe fails even when using ' || true '
Date: Sat, 27 Mar 2021 09:32:48 +0100	[thread overview]
Message-ID: <CAHYJk3QLRU1878w9tgr=Sjy_d4a+sbkwTzar8U7Usm5Tcz7ySw@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3R9y2ipd7Eo_yaizW1o30notvme7g+1qGX3Xm=GWeig-A@mail.gmail.com>

On 3/27/21, Mikael Magnusson <mikachu@gmail.com> wrote:
> On 3/26/21, Bart Schaefer <schaefer@brasslantern.com> wrote:
>> If you're copy-pasting from an edit in browser gmail, for example, it
>> has a tendency to insert non-breaking spaces whenever there is more
>> than one consecutive space, which the shell interprets as
>> non-whitespace and attempts to execute as commands.  Annoys the hell
>> out of me whenever I forget that it happens.
>
> You can use bindkey -s (or some postprocessing in your paste handler,
> depending), to get rid of these since you pretty much never actually
> want them in a shell command line anyway (and you could use ctrl-v if
> you really do want to type one).

I see now that you already covered this (after 65 years, gmail
incredibly still doesn't support email threads and just groups mails
by subject line).

-- 
Mikael Magnusson


      reply	other threads:[~2021-03-27  8:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 13:09 Rudi C
2021-03-26 17:16 ` Bart Schaefer
2021-03-27  8:30   ` Mikael Magnusson
2021-03-27  8:32     ` Mikael Magnusson [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='CAHYJk3QLRU1878w9tgr=Sjy_d4a+sbkwTzar8U7Usm5Tcz7ySw@mail.gmail.com' \
    --to=mikachu@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@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).