Chinaunix

标题: shell vi 的颜色 [打印本页]

作者: nixer2007    时间: 2008-05-23 15:20
标题: shell vi 的颜色

.去掉 vi 中的颜色

vi ~./.vimrc

--------------
syntax off
-------------------

.去掉shell 中的颜色.

dircolors -p > ~/.dir_colors
编辑 ~/.dir_colors,

NORMAL 00 # global default, although everything should be something.
FILE 00  # normal file
DIR 00  # directory
LINK 00  # symbolic link
FIFO 00 # pipe
SOCK 00 # socket
BLK 00 # block device driver
CHR 00  # character device driver
ORPHAN 00  # orphaned syminks
MISSING 01;05;37;41 # ... and the files they point to


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/43994/showart_702518.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2