Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting the command in preexec as precisely typed
- X-seq: zsh-users 23959
- From: Sylvia Gough <q0h8xdveje@xxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: Re: Getting the command in preexec as precisely typed
- Date: Mon, 3 Jun 2019 12:39:30 +0300
- Cc: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T9lPxY66AspK4GZJgV5mxLTZF07AVIEjAgnBwe+XZfc=; b=ZnmTcnG40BimvCdFYwOmgBrAZrjKMEuhxObZZhtQzoWmB7z6TWavzxQ/+p/SJ5rHmm KneQ9UAxjJ/CJSfiFtPnqtmuXZ0gujYzhCZacKqYETdDjr8rUCJPDwPBwMbms2e757lS zWgNf+iF89VNYTKgsW7OBjhWXJdvwv3TpshYntRY1R3KI+Ct/rfDEiwwjs2Xa9HPKz9P pZmsMms7SV5R3skv/0g/iJRwtDGSn4HAJt6pkgolMUNTcHyt5sUc3mWp2sdba/SziokF O28oYQCL/2fdN+C4gGG+N8vvSpItx7s8fgRcUFOuxGjpQo+5qbVGMFYEUyqW5za4abrT 7uCw==
- In-reply-to: <CAN=4vMpdHSGGXrE_OZ+qHqEEuT4CwTRyKyd7S5FPVEM86FCMgg@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CA+E8bhofxWgV+BG+a2p8wN3dy6VjLX28EAeH=DXM7LWHH63h9Q@mail.gmail.com> <CAKc7PVDPVj3_DhJhCYo-LhZEGxLmzpeoE+50t8ficzdPzra9Bw@mail.gmail.com> <CAP5gpg6At5PD=1O=mwxNZGQwK1Dh8uUPAVLC-=O3wsK6jpP9tQ@mail.gmail.com> <CAN=4vMpdHSGGXrE_OZ+qHqEEuT4CwTRyKyd7S5FPVEM86FCMgg@mail.gmail.com>
Good point, thanks!
On Mon, Jun 3, 2019 at 12:26 PM Roman Perepelitsa <
roman.perepelitsa@xxxxxxxxx> 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.
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author