zsh-users
 help / Atom feed
* Anyone want to convert this bash script for terminal color detection into zsh?
@ 2019-05-11  0:16 Rocky Bernstein
  2019-05-11  0:42 ` Emanuel Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Rocky Bernstein @ 2019-05-11  0:16 UTC (permalink / raw)
  To: Zsh Users

[-- 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Anyone want to convert this bash script for terminal color detection into zsh?
  2019-05-11  0:16 Anyone want to convert this bash script for terminal color detection into zsh? Rocky Bernstein
@ 2019-05-11  0:42 ` Emanuel Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg @ 2019-05-11  0:42 UTC (permalink / raw)
  To: zsh-users

Rocky Bernstein wrote:

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

Does it work in the Linux VTs as well?

-- 
underground experts united
http://user.it.uu.se/~embe8573


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-11  0:16 Anyone want to convert this bash script for terminal color detection into zsh? Rocky Bernstein
2019-05-11  0:42 ` Emanuel Berg

zsh-users

Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-users

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox