Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
another bug: zsh_directory_name
- X-seq: zsh-workers 25973
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: another bug: zsh_directory_name
- Date: Thu, 30 Oct 2008 22:20:54 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Received:From:To:Subject:Date:Message-ID; b=TsfAK/pKQEvzoAKLvgvhdHE/hMqbHnhYgbc5KQr3L2hzc1U+B8yL+PICrKQW96bjGoR2NMiRNwd1cPSDbyaBGWt/qgNIR67QfIiF+kuJVbBtLCqAADQ7tDC8OCJtJxLkGHd1KEioi+LjfAjXH9cEskfUKi4vlBFwqhs1zO9u6oI= ;
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Just thought I'd check that the case of calling this new ~[...] stuff
recursively had been handled. The following caused an instant seg fault:
zsh_directory_name() {
echo ~[]
}
Out of interest what are people using this for. It seems like a nice
idea, but I've yet to think of an actual use that can't be done with a
normal named directory. Transformations on the current $PWD seem to be
one logical option - ${PWD/src/include} for instance. Or an easier syntax
for (../)#
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author