Setting - Directory / File colors for SSH terminal connections
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Well, this looks like 3 years old thread, so I was wondering if someone in meantime managed to find a real solution, since previous solution totally disables colors. I need syntax highlighting and normal colors. This colors which appear in VIM in SSH session are for white background, but I use black background and on both machines when login locally, there are appropriate colors (for black background). In shell, colors are OK.
Tinkster's suggestion (the second one) helped me find my solution, which was to find the DIR_COLORS file, which was in /etc in my RHE4 environment. The file's comments were thorough, simple, and quite usable even without root access. Other search results were fruitful too (especially for Debian users who don't appear to have this file): http://www.linuxquestions.org/questi...4/#post3416020 http://www.linuxquestions.org/questi...5/#post3065957
Tinkster's suggestion (the second one) helped me find my solution, which was to find the DIR_COLORS file, which was in /etc in my RHE4 environment. The file's comments were thorough, simple, and quite usable even without root access. Other search results were fruitful too (especially for Debian users who don't appear to have this file): http://www.linuxquestions.org/questi...4/#post3416020 http://www.linuxquestions.org/questi...5/#post3065957
Well, when speaking of VIM particularly, setting 'background={dark|light}' can help .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.