Re: Where are my VIM colors?

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



israel.garcia@xxxxxxxxxxxx schrieb:
Maybe, it's stupid question but I've just installed CentOS5 and when I'm
going to edit some of my conf files I see no colors as it did in old
CentOS4x...
I'm using:

[root@domian:~]$ echo $TERM
xterm

Take a look at:

# cat /etc/profile.d/vim.sh
if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
  [ -x /usr/bin/id ] || return
  [ `/usr/bin/id -u` -le 100 ] && return
  # for bash and zsh, only if no alias is already set
  alias vi >/dev/null 2>&1 || alias vi=vim
fi

So you do not get vim for root...

Hth
Rainer
_______________________________________________
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