From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28710 invoked by alias); 28 Sep 2011 13:14:38 -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: 29807 Received: (qmail 21011 invoked from network); 28 Sep 2011 13:14:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KHOP_SC_TOP_CIDR8 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at gladbachcity.de does not designate permitted sender hosts) Subject: ZSH crashes when using ${path:0:h} From: Christian Heinrich To: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 28 Sep 2011 15:14:24 +0200 Message-ID: <1317215664.12840.8.camel@LivandoMobile> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit 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) If you need any information, please let me know. Regards Christian