Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [zsh] Re: psvar expansion with %v



    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