Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Fixed Hardwrap][BUG] Pipe fails even when using ' || true '
- X-seq: zsh-workers 48254
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [Fixed Hardwrap][BUG] Pipe fails even when using ' || true '
- Date: Sat, 27 Mar 2021 09:32:48 +0100
- Archived-at: <https://zsh.org/workers/48254>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-03/CAHYJk3QLRU1878w9tgr%3DSjy_d4a%2BsbkwTzar8U7Usm5Tcz7ySw%40mail.gmail.com>
- In-reply-to: <CAHYJk3R9y2ipd7Eo_yaizW1o30notvme7g+1qGX3Xm=GWeig-A@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAE9z9A2RBrXpEHxh92+TMTbP25+ztdzC_ZcuTpegb32Gxd4KUQ@mail.gmail.com> <CAH+w=7bt8DzR8QV=nAB2zhPib5x5KY7BVGs1BaZW2PTPWUw9Cw@mail.gmail.com> <CAHYJk3R9y2ipd7Eo_yaizW1o30notvme7g+1qGX3Xm=GWeig-A@mail.gmail.com>
On 3/27/21, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> On 3/26/21, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author