Console Syntax Highlighting

Wade Majors wade at ezri.org
Sun May 11 10:30:40 PDT 2003


Tom Smith wrote:
> Is there a way to enable Linux-like syntax highlighting at the console?

You will have to be more specific than this. If you mean color support 
for ls(1) you can run it with the -G switch. You can setup an alias in 
your shells profile to automatically append the -G for you. It looks 
best with the -F switch which appends * to executables and / to directories.

-Wade




More information about the freebsd-questions mailing list