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

Re: Number of psvar entries



On Wed, Mar 13, 2013 at 10:03 AM, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
> The manpage tells us
>
> psvar <S> <Z> (PSVAR <S>)
>  An array (colon-separated list) whose first nine values can be used
> in PROMPT strings.  Setting psvar also sets PSVAR, and vice versa.
>
> but
>
> % psvar[25]=hello; print -P %25v
> hello
>
> Am I missing something?

>From reading the code in Src/prompt.c, it seems that the documentation is stale.



Messages sorted by: Reverse Date, Date, Thread, Author