Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZSH crashes when using ${path:0:h}
- X-seq: zsh-workers 29808
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Christian Heinrich <christian@xxxxxxxxxxxxxxx>
- Subject: Re: ZSH crashes when using ${path:0:h}
- Date: Wed, 28 Sep 2011 15:26:19 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=f7NsKQT8hOmmAsku9C2EjT/vDj9x0neaMUT7fIJ76xo=; b=mPw8C3hFdrsYpT1NwAEMv3mgl8VPSXitxBzlyG7BDluoaxHuvzU4Me6m3HbrJP2cML EHSsHpqqUvwDedHeYXQQl9CBykEJLOUI5WeelWorIF3uu4nempQdqk5eFnRZwRquok9j xTevVarFiceFQ2Vt1VQTsXtPiA20r2tw1756E=
- In-reply-to: <1317215664.12840.8.camel@LivandoMobile>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1317215664.12840.8.camel@LivandoMobile>
On 28 September 2011 15:14, Christian Heinrich
<christian@xxxxxxxxxxxxxxx> wrote:
> Hi everybody,
>
> although I use zsh for about one year by now, my configuration was
> mostly cherry-picked from sources all over the internet and I began
> reading the documentation actually just this week ;o)
>
> I came across the parameter expansion today and thought I would give it
> a shot by trying the "expansion" ${path:0:h} at the beginning of an
> argument. (I.e., nothing before it)
>
> I am aware that this command might be nonsense but since I'm just
> learning, I thought it might give me the first entry in $PATH with
> the :h modifier applied. I simply wanted to try this out.
>
> Unfortunately, zsh crashes.
>
> I am currently using zsh + screen on Ubuntu 11.04 on my x86_AMD64
> machine.
>
> % zsh --version
> zsh 4.3.11 (x86_64-unknown-linux-gnu)
This bug is fixed in .12
http://www.zsh.org/mla/workers/2011/msg00076.html
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author