zsh-users
 help / color / mirror / code / Atom feed
From: Rocky Bernstein <rocky.bernstein@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Anyone want to convert this bash script for terminal color detection into zsh?
Date: Fri, 10 May 2019 20:16:31 -0400	[thread overview]
Message-ID: <CANCp2gY8WOy_WGW6m14i5aP04YfKr1TJZS=6pbOnEPYhnfzRDA@mail.gmail.com> (raw)

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

I wrote a little script to report if a terminal has a dark or light
background.

https://github.com/rocky/bash-term-background

Anyone want to convert this to zsh so zsh users can do the same thing?

See
https://stackoverflow.com/questions/12644730/error-in-compilation-and-linking-using-cmake-with-gcov
for
the discussion of what's involved and what works (nd what doesn't.

             reply	other threads:[~2019-05-11  0:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-11  0:16 Rocky Bernstein [this message]
2019-05-11  0:42 ` Emanuel Berg

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='CANCp2gY8WOy_WGW6m14i5aP04YfKr1TJZS=6pbOnEPYhnfzRDA@mail.gmail.com' \
    --to=rocky.bernstein@gmail.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).