delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/01/18/20:17:16

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:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Cdk
TY30YeUKqMQmlsdjLywiek6DfIqai1iuj5A2ZjCUT83BicVE4KHXX3W4cIBHkBbM
YGlGiHUOAdanX3jGiBnbMjVmLIpoc/h6Kg5iLxA2S54rmhqSlTACPI8cVbk27d4E
22w5nobarTY83srcosfiaG/3y/Z7UvYuoTTMFC5M=
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:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=R486mBat7
cioVD0m21jzS8PpHVU=; b=txtpexbM3EolpJVE5zoXHW3mC2QpzgBjV7ccGregV
WR2tVk+U4cebaU9ibWRMpueJOOcumLP7At7UBqg5AKODSewAvRtf+T+9IFqqJafj
Z+60DHZaFbriwfL7Romv/Hq9m0b9XuAJrM0/tN2UzNO20uTpqAz9s8Oi5ESK9njQ
BA=
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=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=shades, nearby, H*c:alternative, H*c:HHH
X-HELO: NAM12-DM6-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lkXyA4wkSPs4BRY3SR+Z2TfuBVLKfMeG2KhPiU5Fbhmn9qCogRSfqVbIObW/GBd5Y17rpnjOjIzig11iqB9/u1PcExj4TBfu5qBMVlirp6XtFidECd10Ktc+ax7Y7FspNLsFZ5wpZSnDxSZVxfWt51UPdywHMx2BBQIsSKPOPYgt6OOEbcu2WvRNzfCsS3fZLHmZy79BMLa3ElDQM3CQ/4sn6kI2hcW4YFrns4/2U7qHj2nTClxoUglJilXL7Pn5t+p4Q7KX6W+gd+YvBWnlkRsCIcGGKSKmIECzj5FwLwjuPiDJYrg+k01i50j4pCHjhl2yAgbElERFL1XhlLXYxg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kt115u0ikR1JifwGCTjqwTFNNaMwc0rgO2jT7MDaLDE=; b=Jw7AUXTcqBb3xD+6usI7mmPfHfthHHg0WCQgiPtPTHTvg9MtSPhF4YyzBwXSRnRhtcQ6OlydK/cyGJtsiLVcN0GFqOQ/1/Dab+pJugW3fUln/fChNzwZafXKnRGWZYNkr1rFaOr8IoBilJlRHJK9caGdoqqMXDAmYUINbxg4QWxnmRopQbznJfVFg89achLNqchrvvCOmfb5Oochx7wI8RyE7g6HCfcblWcWt1uLYiW3+1fPQjWwDPiE+bZVoPI6/Hy4rVNRU7ZtGPHp0qRCjvKttXICTKyiQwTAlYyfsu5VPMolqWGvm9/8gb+BtHKuJXSMt9Fg3cxAQuUx0Mn+vw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ensemblesoft.net; dmarc=pass action=none header.from=ensemblesoft.net; dkim=pass header.d=ensemblesoft.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORG5917403.onmicrosoft.com; s=selector1-NETORG5917403-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Kt115u0ikR1JifwGCTjqwTFNNaMwc0rgO2jT7MDaLDE=; b=fMOiP9qVlG1GoMesMARdb1NKzLzK8olNEFcr2OvWCsMtYpkvw+Jguyd0LW/KV11m3/3rFathh3PhPdQ+GWkhuDc6MaRyFnD0UlUH4Y85jK3X8oLSGpl/gJ1bcwS3muyj45ZwVuQqxLbxfUYVA5IJlfBjxJB4kjobhgVbvRhOz3E=
From: R Steiger <rsteiger AT ensemblesoft DOT net>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: with LS_COLORS customized, ls's color scheme reverts when cd'ing to directories not under HOME
Date: Sun, 19 Jan 2020 01:16:10 +0000
Message-ID: <SN6PR08MB401482CA129E62400ACE9236B7330@SN6PR08MB4014.namprd08.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rsteiger AT ensemblesoft DOT net;
x-ms-oob-tlc-oobclassifiers: OLM:10000;
received-spf: None (protection.outlook.com: ensemblesoft.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: CDsVqMxdDhn0dTYYrcVWXgBoDd/H/7r+zLrpOXXU0BLvjJnNxcxV0SHidpHDjQMcvf0k8SdQjbMWqjiBR1XCbdSDoVhCTsUkeFyUG8bAbaE=
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 00J1GwMV007206

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.

Incanting 'ls -l' in ~ yields a perfectly readable listing.  However, as soon as I cd to some directory not under ~, the scheme reverts to the released one.  I've been unable to find any posts describing any such problem, and am wondering if cd might be invoking some subcutaneous hook that could be messing with LS_COLORS in some way (BTW, in any of the color-reverted directories, LS_COLORS shows the updated "di=01;35" binding, not the released one).

Thanks in advance for any advice/workarounds/fixes.

-rjs

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