Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [zsh] Re: psvar expansion with %v
- X-seq: zsh-users 9190
- From: DervishD <zsh@xxxxxxxxxxxx>
- To: Joel David Elkins <jde@xxxxxxxxx>
- Subject: Re: [zsh] Re: psvar expansion with %v
- Date: Tue, 26 Jul 2005 23:54:15 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20050726162859.GA17231@xxxxxxxxx>
- Mail-followup-to: Joel David Elkins <jde@xxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: DervishD
- References: <20050723084210.GA7913@DervishD> <20050726073322.GA1945@DervishD> <1050726140109.ZM29371@xxxxxxxxxxxxxxxxxxxxxxx> <20050726162859.GA17231@xxxxxxxxx>
Hi Joel :)
* Joel David Elkins <jde@xxxxxxxxx> dixit:
> As Bart noted, you can't use %v as you want to, but you can get the
> same effect using "set promptsubst" and PS1="\$psvar[1]". This was my
> solution to a similar problem for my prompt. I attached it in hopes of
> giving you more ideas, Raul.
Thanks!
My PS1 is not as complex as yours, in fact it is quite simple,
but nonetheless I'm going to pick some ideas, thanks a lot :)
Raúl Núñez de Arenas Coronado
--
Linux Registered User 88736 | http://www.dervishd.net
http://www.pleyades.net & http://www.gotesdelluna.net
It's my PC and I'll cry if I want to...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author