Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Number of psvar entries
- X-seq: zsh-workers 31145
- From: Nikolai Weibull <now@xxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: Number of psvar entries
- Date: Wed, 13 Mar 2013 10:31:59 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=GvcKEVFIoPJt5ygE7gHQ1nBcgFPByxh5b6fFSURgu+s=; b=p+QO+VW7zWexh6XWcWfUBxs+gS9F9wyNOScnePThbGvse1XBWjmS7kLzLnlPP2GFkB rK0lN7goZ5WEQwdxYsiLkV2b13AKYrzMa2t+Ozf89WrBRu8dpThKeVxaylCIyPXVG9/I iG1Fccp8+K4TBBtBfc9sio61INiSYkf/kQXEVSLVKeMc34N1LztDXQLA0V1uWi6569O7 uvS8aFuL2nOw7Zdk43QmPn9LRruX0WjFz9/x/Ed83zcA2zfHbpkgRN6AdawmK1Q96BCn Lf7Fs+q8sF1rs4EBjnXWaKc5ynwpKePMsdALa22GvZRXMfCaNz2IHO4VjhH9JXk7zXZ0 G3pw==
- In-reply-to: <CAHYJk3RQxp6NUNGm482T=kzvbAF+PXYTrc5Q7fpzaKcwVVDQ6Q@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAHYJk3RQxp6NUNGm482T=kzvbAF+PXYTrc5Q7fpzaKcwVVDQ6Q@mail.gmail.com>
- Sender: nikolai.weibull@xxxxxxxxx
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