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 23958
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Sylvia Gough <q0h8xdveje@xxxxxxxxx>
- Subject: Re: Getting the command in preexec as precisely typed
- Date: Mon, 3 Jun 2019 11:26:45 +0200
- 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=B5XgCe6hgkaxmttYXc5P5haPGh4A8oqLx/6CkJ4emEI=; b=dRPKeRzYAMOZ7myrxIcpAHa/RxPEAbgygVQFsXDOzyoKpw7meW1MKT00JDqme4ALin Fy0u3T0/4Xa4CwXxwi9K8ebzR2AT4oXc14PkESrukZjtLk0nqKUbseqtR+ZLKAZ+dKSg FL6n49xcxelurHPOu7ArymJRqKRZxDcKbFx4sUVnJVmtAQRiMsnKYj0sWFh9IwnCZo6i CtzntqoBFTqeX8l504bq4fpDAI6J+icIa1DEK8crQuyeatCounE/JQ08j6QH9+hrNi14 8DU1Hl46hZnq/1JMx09eUPOkH3OYKz1vytGGqDJN9Y6MGid9y1Tv+CoNUI27rDqagQLB BNiw==
- In-reply-to: <CAP5gpg6At5PD=1O=mwxNZGQwK1Dh8uUPAVLC-=O3wsK6jpP9tQ@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>
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