[CentOS] Colors in vi for user root
Johnny Hughes
johnny at centos.org
Sun Mar 9 11:29:53 UTC 2008
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'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080309/4cd5e798/attachment.sig>
More information about the CentOS
mailing list