Re: Colors in vi for user root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Mário Gamito wrote:
Hi,

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.


And one last way if vim-enhanced is installed ...

put this in the /root/.bashrc

alias vi='vim'

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux