zsh-workers
 help / color / mirror / code / Atom feed
From: Christian Heinrich <christian@gladbachcity.de>
To: zsh-workers@zsh.org
Subject: ZSH crashes when using ${path:0:h}
Date: Wed, 28 Sep 2011 15:14:24 +0200	[thread overview]
Message-ID: <1317215664.12840.8.camel@LivandoMobile> (raw)

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


             reply	other threads:[~2011-09-28 13:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-28 13:14 Christian Heinrich [this message]
2011-09-28 13:26 ` Mikael Magnusson

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=1317215664.12840.8.camel@LivandoMobile \
    --to=christian@gladbachcity.de \
    --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).