Date: Sun, 11 May 2003 11:19:07 -0700 From: Tom Smith <tom@openadventures.org> To: 'freebsd-questions' <freebsd-questions@freebsd.org> Subject: Re: Console Syntax Highlighting Message-ID: <3EBE941B.8060803@openadventures.org> References: <3EBE84DC.9080706@openadventures.org> <005d01c317e2$114b4860$0200000a@internal.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
The problem is that _nothing_ is highlighted. That is, nothing on the console or in ViM. See below for additional comments... Craig Reyenga wrote: >Are you talking about a text editor? or the shell prompt? or other? > Well...both ;-). I use Bash 2.05b and ViM 6.1. Both do what I need in Linux. But when I try to configure them in FBSD they don't work. I know that I've got the ViM config correct but I'm less proficient with Bash. Thus, I'm deducing the problem's related to a Bash configuration issue. With Red Hat, the default global bashrc (/etc/bashrc) supports syntax highlighting (of files, directories, RPMs, etc). These same settings don't seem to work very well in FBSD. >Text editor: -> Install vim, or jed >Shell prompt: -> use my $PS1, or make your own. > >craig@{ ~ }> echo $PS1 >\[\033[0;33m\]\u\[\033[0m\]\[\033[1;34m\]@\[\033[0m\]\[\033[1;34m\]{ >\[\033[1;32m\]\w\[\033[0m\]\[\033[1;32m\] >\[\033[0m\]\[\033[1;34m\]}>\[\033[0m\] >craig@{ ~ }> > Is this config for the default /bin/sh shell? Will it work with Bash?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EBE941B.8060803>