zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Global alias mangles input in 5.0.8
Date: Wed, 01 Jul 2015 10:23:57 +0100	[thread overview]
Message-ID: <20150701102357.0f11d0f8@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <3bf0cc143e34ae6723d12a7a562258d3@protonmail.ch>

On Wed, 1 Jul 2015 00:48:23 -0400
fcook <fcook@protonmail.com> wrote:
> I'm running on x86-64 Arch Linux, and noticing what looks like a bug doing the following:
> 
> > alias -g '$'='4<<('
> 
> > cat /proc/self/fd/4 $ ls )
> 
> But under zsh 5.0.8, I get an error: "zsh: no such file or directory: s )".

Looks like bad effects are specific to "<(...)", since I seem to be getting
sane results with "$(...)", but they're not specific to global aliases...

% alias foo='echo <('
% foo ls )
zsh: segmentation fault (core dumped)  ./zsh

I don't know if this is the same, but it seems likely to be related.

pws


  reply	other threads:[~2015-07-01  9:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01  4:48 fcook
2015-07-01  9:23 ` Peter Stephenson [this message]
2015-07-01 20:26   ` Peter Stephenson
2015-07-02  8:45     ` Peter Stephenson

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=20150701102357.0f11d0f8@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.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).