This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]