Customising 'ssh' colours

Garry Heaton garry@heaton6.freeserve.co.uk
Tue Jun 25 12:51:00 GMT 2002


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/



More information about the Cygwin mailing list