zsh-users
 help / color / mirror / code / Atom feed
From: Jim <linux.tech.guy@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh <zsh-users@zsh.org>
Subject: Re: zsh/nearcolor module usage
Date: Mon, 6 Feb 2023 23:10:42 -0600	[thread overview]
Message-ID: <CA+rB6GJQVVFwQH7C1mvfs1hh_a6jYLJcuqFAMKQi1_d0CiP5xg@mail.gmail.com> (raw)
In-Reply-To: <CAH+w=7aOdpMTTks5v0Kc7_9hTL2vk_CKurzzh8biix+MT2O_Kw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

Bart,

On Mon, Feb 6, 2023 at 10:30 PM Bart Schaefer <schaefer@brasslantern.com>
wrote:

> On Mon, Feb 6, 2023 at 8:12 PM Bart Schaefer <schaefer@brasslantern.com>
> wrote:
> >
> > Parameter expansion with (%) should work.
> >   palegreenpants="%F{#ABCB8D}pants%f"
> >   print -r -- $palegreenpants
>
> Then of course I typo'd that.
>
>   print -r -- ${(%)palegreenpants}
>

Thanks for the example, Now my feeble brain can wrap itself around it.

Obscure enough I didn't connect them  together. :-(  That said, the zsh
man pages are much better then a lot of other man pages I've read over
the years.

Again, thanks,

Jim

[-- Attachment #2: Type: text/html, Size: 1183 bytes --]

      reply	other threads:[~2023-02-07  5:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07  2:53 Jim
2023-02-07  4:12 ` Bart Schaefer
2023-02-07  4:29   ` Bart Schaefer
2023-02-07  5:10     ` Jim [this message]

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=CA+rB6GJQVVFwQH7C1mvfs1hh_a6jYLJcuqFAMKQi1_d0CiP5xg@mail.gmail.com \
    --to=linux.tech.guy@gmail.com \
    --cc=linuxtechguy@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@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).