public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Lee <ler762@gmail.com>
To: cygwin@cygwin.com
Subject: Re: with LS_COLORS customized, ls's color scheme reverts when cd'ing to directories not under HOME
Date: Sun, 19 Jan 2020 06:41:00 -0000	[thread overview]
Message-ID: <CAD8GWsvPiNDbo9tF6AaUGGHvFadbkVFoY-0uWaenNah6024xQQ@mail.gmail.com> (raw)
In-Reply-To: <SN6PR08MB401482CA129E62400ACE9236B7330@SN6PR08MB4014.namprd08.prod.outlook.com>

On 1/18/20, R Steiger  wrote:
> The directory color assignments for dracula, flat-ui, and several other
> themes render 'ls -l' listings very hard to read (foreground and background
> are nearby blue-green shades for "d" entries).  FWIW, currently theme is
> "dracula", but am getting same results for flat-ui, etc.
>
> I've tried various ways to customize colors, even saving LS_COLORS to a
> ~/.dir_colors" file, tweaking "DIR 01;31" -> DIR 01;35", and adding
> "eval `dircolors ~/.dir_colors`" on the last line of .bashrc.

Your eval quoting is slightly different than mine - maybe that's it?

if [ -f "${HOME}/.dircolors" ] ; then
  eval "`dircolors -b ${HOME}/.dircolors`"

  alias ls='ls --color=auto -p --append-exe'
  #   --color=auto  colorize ls listing
  #   -p            add "/" to directory names
  #   --append-exe  append .exe if cygwin magic was needed

  alias grep='grep --color=auto'
  alias fgrep='fgrep --color=auto'
  alias egrep='egrep --color=auto'
fi

Regards,
Lee

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2020-01-19  6:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-19  1:16 R Steiger
2020-01-19  6:41 ` Lee [this message]
2020-01-19  7:00   ` R Steiger

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=CAD8GWsvPiNDbo9tF6AaUGGHvFadbkVFoY-0uWaenNah6024xQQ@mail.gmail.com \
    --to=ler762@gmail.com \
    --cc=cygwin@cygwin.com \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).