From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14744 invoked by alias); 14 Nov 2015 19:19:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37111 Received: (qmail 5395 invoked from network); 14 Nov 2015 19:19:30 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=C9ixlty7nSKJ53ndB7hcsJvRVE3q+0ia8pGNupdqTK4=; b=iRUAWoRkC87CZ3Rnxo2MmUQ27RIFgFyMDhYhAURMjIXovGCwTmKghqU7zHajBAQV64 gsBdLRh319PqFlBb76wYhllSLJbe1d9F4wUkVSLjEb950A4T4bap3TT78zdtZ1yFcIr+ /M1XjbXyjaE2ob8SCY1/HEbxKef/zozLvAJ3QrAWbGP3ma002BCFVfB0qyne3y19CrK5 t4201Psn8BifNdtzmHkq2ObF1zIqozWheMzO6zKJedVKvwya6bNzY76yvUmhHnzqTMsm F4HavfpF5/ZprUznnq651I2hyukB/sn+nYhUxz6cgpiliIL7tysEaCsY4R4Bu+CdamxL A8Zg== MIME-Version: 1.0 X-Received: by 10.28.17.7 with SMTP id 7mr1430409wmr.45.1447528767859; Sat, 14 Nov 2015 11:19:27 -0800 (PST) In-Reply-To: <151114110330.ZM1697@torch.brasslantern.com> References: <151113170324.ZM32765@torch.brasslantern.com> <151114110330.ZM1697@torch.brasslantern.com> Date: Sat, 14 Nov 2015 14:19:27 -0500 Message-ID: Subject: Re: Bug in alias expansion From: Kynn Jones To: Bart Schaefer Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 On Sat, Nov 14, 2015 at 2:03 PM, Bart Schaefer wrote: > On Nov 14, 1:57pm, Kynn Jones wrote: > } > } Unfortunately, the assignment preceded by `typeset` fails under 5.0.7 > } > } % alias -g foo='echo xyz' > } % typeset frobozz[$(foo)]=9 > } zsh: no matches found: frobozz[xyz]=9 > > That's just normal file globbing taking place: > > % noglob typeset frobozz[$(foo)]=9 > > or > > % typeset "frobozz[($foo)]"=9 Thanks for the clarification. I still find it disconcerting that file globbing would get in the way under v. 5.0.7 but not under v. 5.1.