delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/25/13:11:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3D18A48A.2050402@heaton6.freeserve.co.uk>
Date: Tue, 25 Jun 2002 18:12:42 +0100
From: Garry Heaton <garry AT heaton6 DOT freeserve DOT co DOT uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611
X-Accept-Language: en, en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Customising 'ssh' colours

OK, the LS_COLORS works with a ~/.profile now. $TERM=cygwin, according to 
'env' so how do I get the directory listings with 'ssh' to show-up in LS_COLORS?

Garry

 > I recently changed my 'ls' colours by hard-coding the LS_COLORS list from a
 > Linux machine into cygwin's '/etc/profile' and exporting after 'dircolors'

 >> Better don't change the file coming with the distro.  Either change or
 >> create your own ~/.profile or ~/.bashrc file or, if you need a systemwide
 >> setting, add a file with ".sh" suffix to /etc/profile.d.

 > failed to do the job properly. However, it doesn't work with 'ssh' which
 > defaults to the original 'ls' colours. How do I customise the 'ssh' colours?

 >> You don't.  ssh isn't a terminal, it's a communication tool.

 >> When running in an ssh session, do you have $TERM set properly for
 >> the terminal type you're using?

 >> Corinna




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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