From: Nikolai Weibull <now@bitwi.se>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: Number of psvar entries
Date: Wed, 13 Mar 2013 10:31:59 +0100 [thread overview]
Message-ID: <CADdV=Mt5J2mmQKO33=G-VS79UN-st7LDTHMRTxKc_r9sy=LrfA@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3RQxp6NUNGm482T=kzvbAF+PXYTrc5Q7fpzaKcwVVDQ6Q@mail.gmail.com>
On Wed, Mar 13, 2013 at 10:03 AM, Mikael Magnusson <mikachu@gmail.com> 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.
next prev parent reply other threads:[~2013-03-13 9:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-13 9:03 Mikael Magnusson
2013-03-13 9:31 ` Nikolai Weibull [this message]
2013-03-13 9:38 ` Peter Stephenson
2013-03-13 16:59 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADdV=Mt5J2mmQKO33=G-VS79UN-st7LDTHMRTxKc_r9sy=LrfA@mail.gmail.com' \
--to=now@bitwi.se \
--cc=mikachu@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).