On Fri, Mar 7, 2008 at 12:42 PM, Mário Gamito <gamito@xxxxxxxxx> wrote: > > How can I have vi with syntax hilghting for root ? > Regular users have it, but not root's. > > I've seen the hidden files of a regular user home, but found nothing. Do "vim file" instead of "vi file". As root "vi" gets you a standard UNIX vi, "vim" gets you the enhanced vi with colors etc. Regards, Tim -- Tim Verhoeven - tim.verhoeven.be@xxxxxxxxx - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds)
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos