zsh-users
 help / color / mirror / code / Atom feed
From: Sylvia Gough <q0h8xdveje@gmail.com>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Sebastian Gniazdowski <sgniazdowski@gmail.com>,
	Zsh Users <zsh-users@zsh.org>
Subject: Re: Getting the command in preexec as precisely typed
Date: Mon, 3 Jun 2019 12:39:30 +0300	[thread overview]
Message-ID: <CAP5gpg6ZwFSsVsTy0Bq_FkUem35Bmffwgz1NwqD24jBLexCe2g@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMpdHSGGXrE_OZ+qHqEEuT4CwTRyKyd7S5FPVEM86FCMgg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

Good point, thanks!

On Mon, Jun 3, 2019 at 12:26 PM Roman Perepelitsa <
roman.perepelitsa@gmail.com> wrote:

> When printing content outside of your control, use `print -r -- $1` or
> `echo -E - $1`. Plain `echo -E $1` won't work if the argument is `-n`
> or some other valid flag.
>
> Roman.
>

      reply	other threads:[~2019-06-03  9:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-02 14:45 Sylvia Gough
2019-06-02 16:03 ` Sebastian Gniazdowski
2019-06-02 21:22   ` Sylvia Gough
2019-06-03  9:26     ` Roman Perepelitsa
2019-06-03  9:39       ` Sylvia Gough [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=CAP5gpg6ZwFSsVsTy0Bq_FkUem35Bmffwgz1NwqD24jBLexCe2g@mail.gmail.com \
    --to=q0h8xdveje@gmail.com \
    --cc=roman.perepelitsa@gmail.com \
    --cc=sgniazdowski@gmail.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).