delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/19/01:42:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=yUCY61i
0Elk3CYvA1mAx3nDaAD8lZFo0qIsYEjYgVOUwkB/+v804/uDawAqSsFIAd0jAq+J
2jBehPv2eM6Bl5uMqjOJShlw/YxtWvl+MN0b1Z11gjcio52W4Z8Hbpd4gIV/s8Pk
03BaRvWCEaHLQhDBGR1gorkseCWDchSzQbNY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=Z+BBy6BhuNT5N
/FJOlsUL6/y7Sc=; b=TKUMwHzV69CxN94R92+g0zJGrreM7sjwit9YKggCyMEV/
pYDelUEAAJbiFRyMJ2bKNznRAEHKT1YT/7s72EGJ08UgBllhqYEPBcKqvuAlEFyY
zrJT24nKiwWGe7N+Fs28+lGP3M0RclZ1oIgWkRuWSYi7uNynh9U/27217/PFTM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_05,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=steiger, Steiger, colorize, egrep
X-HELO: mail-qt1-f171.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=61tn+19ny3iYgrlDQuacTSePBmKvj1iaIa4xfhDm1os=; b=RCDwT2KaF3efeAVv25ruBBB7Ugu5Cycc+xBtlEJH3QAZdmsSwSKjKusTHQuQxBPiqx wPFyiGpBC8vSOUZxI2nQ05DIDtWwIT6yZSoqVqNPy1tcTqsRw9t2dODBmvakjF4JnmQs Ummp5fYDUsjSK1XlJP8NCOuhUB9Pc2c9ihT3g6LUKEEnL56KGT+37PzB/HgAcxsCzKFt qPqUfh1I3aQcFFuAO8f/m37O1ydcBoCNBt6ZtlWv6c46g2/vDkrd6vDh8I7mCu6jaeZ1 XGwO/Chx1hGWXR0yDlsJzBQzJ3H1PTbjnDUGxcYe8VOcpMF8VzigSggDmPdtj0I6yW/q pLUw==
MIME-Version: 1.0
In-Reply-To: <SN6PR08MB401482CA129E62400ACE9236B7330@SN6PR08MB4014.namprd08.prod.outlook.com>
References: <SN6PR08MB401482CA129E62400ACE9236B7330 AT SN6PR08MB4014 DOT namprd08 DOT prod DOT outlook DOT com>
From: Lee <ler762 AT gmail DOT com>
Date: Sun, 19 Jan 2020 01:41:43 -0500
Message-ID: <CAD8GWsvPiNDbo9tF6AaUGGHvFadbkVFoY-0uWaenNah6024xQQ@mail.gmail.com>
Subject: Re: with LS_COLORS customized, ls's color scheme reverts when cd'ing to directories not under HOME
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019