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

Re: zsh/nearcolor module usage



Bart,

On Mon, Feb 6, 2023 at 10:30 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Mon, Feb 6, 2023 at 8:12 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> 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


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