Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tilde (%~) prompt expansion inconsistent with named directories?
- X-seq: zsh-users 13053
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Tilde (%~) prompt expansion inconsistent with named directories?
- Date: Mon, 21 Jul 2008 22:44:53 -0700
- 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>
On Jul 21, 5:00pm, Phil Pennock wrote:
}
} In your init function for setting the prompt:
} zmodload -i zsh/parameter
} print ${(k)userdirs} >/dev/null
The usual idiom would probably be more like
zmodload -i zsh/parameter && : $userdirs
Messages sorted by:
Reverse Date,
Date,
Thread,
Author