In <[EMAIL PROTECTED]>, Chris Phillips <[EMAIL PROTECTED]> typed: > I too, would like to see similar colours to what I used to, when I was > running Mandrake. For example, you'd get different file types shown in > different colours (when doing "ls") & even in vi you'd get code coloured > in a nice & helpful fashion. Editing HTML was a joy!
You can either alias ls to "ls -C", or install the gnuls port and make sure that ls is first in your path. You may need to find which vi - there are at least three - you were using on mandrake, and install that. Other than the system one, there are vim and nvi in the ports. Hopefully, a vi user will chime in with which ones do syntax coloring. > My favoured shell is zsh (it's what we use at work, so I am sticking > with it) & I've searched for some .zshrc examples but not had any great > joy I'm afraid. zsh does colors just fine if you set the term type to xterm-color. You need to do: autoload -U colors colors in your .zshrc to enable them, then you can use them in your prompts. I set my RPROPMT like so: RPROMPT=" %{$fg_no_bold[magenta]%}%~%{$reset_color%}" to have it display the current directory in magenta. As an aside, one of the things I *hated* about a couple of linux distributions was that they enabled colors for things by default. In three differente places. Turning that stuff off was a major pain. I can understand having it on by default, but I ought to be able to turn it off by editing my .bashrc (or similar), without having to edit two system files as well. <mike -- Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message