Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tilde (%~) prompt expansion inconsistent with named directories?
- X-seq: zsh-users 13052
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: dackz <dackze@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- Subject: Re: Tilde (%~) prompt expansion inconsistent with named directories?
- Date: Tue, 22 Jul 2008 07:28:16 +0200
- 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:Received:Received:In-reply-to:From:References:To:Subject:Date:Message-ID; b=xRyp6K6rQepJDFcRFumNA8FlulFWjC2jpR1SK/vNT9bOAQ8ZFcELGVhgQDnQRecjPncX6vvTyon/J8i5ohMikd2RQHpV5xM7hBsvHBq9dCAD65BsvkAHf0QeJczgNz/F+w62Uu0Gy8UXO3OWI3rqoz9+z3aAuIV4Pprd8dnFSSA= ;
- In-reply-to: <20080722000039.GA41480@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <C40BEC83-7722-4379-894C-71B9D210C635@xxxxxxxxx> <20080721224103.GA38508@xxxxxxxxxxxxxxxxxxxx> <27A15BA8-38F5-4757-8E40-0FFCBD9ADA17@xxxxxxxxx> <20080722000039.GA41480@xxxxxxxxxxxxxxxxxxxx>
> print ${(k)userdirs} >/dev/null
No need to print it to /dev/null. Just use the : command:
: ${(k)userdirs}
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author