From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9998 invoked from network); 7 Feb 2023 05:11:32 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Feb 2023 05:11:32 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1675746692; b=cRUviOM53mbT4Eh9+D8Sol3FlB20JKXzzqpdWeBE3XOn/jJcMG8CqglRh2k00kZK5/vTCEgsBE vQR0+4uTVLahW4EsmAUmz0jtPI5TJe19JGcq8sNdWMMvrXHE6uS0o6d8jNS1CvxxOvH5uuiz72 UEYqrEYpTRtUdLMzxfiROySiej2lEn/tIubd3VQPCrBWW+0hPVtzjhZoF29kuM2bGCRAF39III AjKuiUv2iYY2zvKIK//luY2kI20IGniPLNbVQIqCdOaGLXvWVNzvimKdUFcKmEuwOq4W3emiE6 icWUM/5+h2/2NZinttz1MDVcsGTxkhVngxbLCwzZ7+yruQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-pl1-f170.google.com) smtp.remote-ip=209.85.214.170; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1675746692; bh=tanmsdlV8sjez0YJx/1l3m8LLD7/MsK6Hsn577DJe4U=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:Reply-To: In-Reply-To:References:MIME-Version:DKIM-Signature:DKIM-Signature; b=bwuECwCaV7CNxe0HXEL6x8w1nYqZx0owVAxtPU7R7RpzvdYts6yvgtQ0eHQs+HQ73ki1C+wU3j Ib7q5Sq6K5FHpkPpA5C6nliSoFXAQFeuK0rZDiiN1R+St38UUaHiHZMc4QU/rxeMREC1p3gHEx 9IWudOxhsylaip6ymROM5iK15WyK+7h3aD8Hqb/jn7qTmfGYvFLRriR5bYtahGLCuxDaiM3VEH dXH9t+JykW9kIB8xLIVYEB9wF4peu/yLA9nx3gITDWdMqr4gce7KJ1qjtYraTBS9BiaShLQCIc Jl1s/TkjRonHY0ZqrkambKfKY7gOj6h003iZeKV5JqCiYg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:Reply-To:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=bf3bDAbo2Ic6Igk4u2fIUlavQiHQ8lxKa5fgUFMFMeA=; b=nFT0RwtzlVDutKVBMRIe5aurVu zdDn20h7H/T+TBjBCIYtBVYkP52vDlV+UwCKBqcxXq3qZBOhbwY7D2mdsCm1mfa2HLMXETUX5IYvH dppFssDOARNVJtaS3iIytGb7iI2zcGdY1ZqzqOZ+TZr0SiXvhkB+tmoqQTIPZKMX5OL0HkzfahUzg jNkkng+0kCCEqzdKxbn+Af544A0uTqwOiwGSxogPeBDS4cZyv2nD+k+pqTRZPj7nIGQd7XzBGwsY5 zW65pH1SpnQBwYj9CgOT0zJsMK83sdMIzWDB0xxwae3xBE/Wt+GiUUgikUORH3KZpK3FKlImKzDBa M3ce0Dng==; Received: by zero.zsh.org with local id 1pPGGS-000BZy-EN; Tue, 07 Feb 2023 05:11:32 +0000 Authentication-Results: zsh.org; iprev=pass (mail-pl1-f170.google.com) smtp.remote-ip=209.85.214.170; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-pl1-f170.google.com ([209.85.214.170]:46599) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pPGFq-000Aqq-T5; Tue, 07 Feb 2023 05:10:55 +0000 Received: by mail-pl1-f170.google.com with SMTP id i2so1102442ple.13 for ; Mon, 06 Feb 2023 21:10:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bf3bDAbo2Ic6Igk4u2fIUlavQiHQ8lxKa5fgUFMFMeA=; b=mnW1hJkTs7jOW4Zec9NaAD9wmUERJEvFdda1dhCzei+nIiPlKfWeFBuX8APflhPnzU k7Z3sfZtaM4n/ctGKmXzNtVyrgHAkjhwXnjF4W6k046F2upt7u4HOMGMnBZu4OQqgFEo C8+8FkRmS4HwNIbeK1AG/L5YKznvYh+hUmiKUVhQfJrdz1aSrSlVfemdqpQcVPpzMvDk WsZ+8rJN+LeEzdTGmRVTXdIrBI5W+iu2XgVrES2p6vHi/c9Bo4CGKC5s9sJuGVzIyfQa pCybcm7Diq2xIOX0Nv1tfbq0zEyUyUkdRXIMIW0rscrOqf1TgfSu5NVxUr9OjsuhKgo2 l6Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bf3bDAbo2Ic6Igk4u2fIUlavQiHQ8lxKa5fgUFMFMeA=; b=F+qcudo0yXupdUl76O9WzHRXIqQTVmu8nX7f9D5IiNS1RnWz/jgYRZyQKnMwZsGojU H4zLslM4Yom7AIRkPmx56riCSB9iba1a4addA9gIwe4e3+yskl51I4XiscWoaiTWXcTM CbXYKd13qfHvXiHvIWE92x/SEakkJiiatL6KxTKZ0Zzd/2F+wsimsOiiPpstkAVfv9fE 8YSsHnpl35hiiRvAeJMURX42v0Ndk+Cz9umUDt28d/TnfXgwvWuW/jR/q+vJ7GGkZvPN Aw8nVvY6kpSsyqs6NSIciZBSaf6ZTAlTAn2pgbXBXE8+AD6nxgq9GrXtheAfgXDfl2eF ajEw== X-Gm-Message-State: AO0yUKXPIwynCvjtiCLEUkrRrpGmlLrSd/tryMPuBWYZm3SW/NWo8Znj MwGhIALQM+dxoL6tC1rD+WcIZm2f8XCEf08zlP8VVVvM5Wg= X-Google-Smtp-Source: AK7set+OGmVr2PjDJoFXw2qsDpqR4qO4lPUsyKzXVCLQ8ZLx94gUU9OXZzH50aNXj6p6uqkDlgbYFlHPHe8e3bskOIo= X-Received: by 2002:a17:903:328e:b0:198:fbf5:e9bc with SMTP id jh14-20020a170903328e00b00198fbf5e9bcmr341547plb.24.1675746653543; Mon, 06 Feb 2023 21:10:53 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: linuxtechguy@gmail.com From: Jim Date: Mon, 6 Feb 2023 23:10:42 -0600 Message-ID: Subject: Re: zsh/nearcolor module usage To: Bart Schaefer Cc: zsh Content-Type: multipart/alternative; boundary="00000000000004a16605f4152c02" X-Seq: 28909 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --00000000000004a16605f4152c02 Content-Type: text/plain; charset="UTF-8" Bart, On Mon, Feb 6, 2023 at 10:30 PM Bart Schaefer wrote: > On Mon, Feb 6, 2023 at 8:12 PM Bart Schaefer > 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 --00000000000004a16605f4152c02 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bart,

On Mon, Feb 6, 2023 at 10:30 PM Bart Schaefe= r <schaefer@brasslantern.co= m> wrote:
On Mon, Feb 6, 2023 at 8:12 PM Bart Schaefer <schaefer@brasslantern.com> wro= te:
>
> Parameter expansion with (%) should work.
>=C2=A0 =C2=A0palegreenpants=3D"%F{#ABCB8D}pants%f"
>=C2=A0 =C2=A0print -r -- $palegreenpants

Then of course I typo'd that.

=C2=A0 print -r -- ${(%)palegreenpants}

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

Obscure enough I didn't connect them=C2=A0 to= gether. :-(=C2=A0 That said, the zsh
man pages are much better th= en a lot of other man pages I've read over
the years.

Again, thanks,

Jim
=
--00000000000004a16605f4152c02--