From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37952 invoked by alias); 19 Jan 2020 06:41:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 37945 invoked by uid 89); 19 Jan 2020 06:41:47 -0000 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 Received: from mail-qt1-f171.google.com (HELO mail-qt1-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 19 Jan 2020 06:41:45 +0000 Received: by mail-qt1-f171.google.com with SMTP id d18so25233545qtj.10 for ; Sat, 18 Jan 2020 22:41:45 -0800 (PST) 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 Received: by 2002:a0c:e38f:0:0:0:0:0 with HTTP; Sat, 18 Jan 2020 22:41:43 -0800 (PST) In-Reply-To: References: From: Lee Date: Sun, 19 Jan 2020 06:41:00 -0000 Message-ID: Subject: Re: with LS_COLORS customized, ls's color scheme reverts when cd'ing to directories not under HOME To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00157.txt.bz2 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